mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 03:00:58 +00:00
Replace remaining instances of regular malloc/calloc/realloc/strdup with our memory error handler versions
git-svn-id: https://svn.eduke32.com/eduke32@7079 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
9613bbac33
commit
1f8b23152e
21 changed files with 77 additions and 74 deletions
|
@ -45,7 +45,7 @@ static GLuint compileShader(GLenum shaderType, const char* const source)
|
|||
OSD_Printf("Compile Status: %u\n", compileStatus);
|
||||
if (logLength > 0)
|
||||
{
|
||||
char *infoLog = (char*) Bmalloc(logLength);
|
||||
char *infoLog = (char*) Xmalloc(logLength);
|
||||
glGetShaderInfoLog(shaderID, logLength, &logLength, infoLog);
|
||||
OSD_Printf("Log:\n%s\n", infoLog);
|
||||
Bfree(infoLog);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue