From: vortex Date: Sat, 18 Feb 2012 22:09:50 +0000 (+0000) Subject: Fixed shader compile log to use Con_DPrintf. X-Git-Tag: xonotic-v0.6.0~20 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4770a41069eca8b338860d1379fb7d1a64b3aecb;p=xonotic%2Fdarkplaces.git Fixed shader compile log to use Con_DPrintf. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11701 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=5706ee262b241af0741d267f9215cbb7cf03ec4f --- diff --git a/gl_backend.c b/gl_backend.c index 8df14f8e..2f14c54a 100644 --- a/gl_backend.c +++ b/gl_backend.c @@ -2637,7 +2637,7 @@ static qboolean GL_Backend_CompileShader(int programobject, GLenum shadertypeenu for (j = 0;strings[i][j];j++) if (strings[i][j] == '\n') pretextlines++; - Con_Printf("%s shader compile log:\n%s\n(line offset for any above warnings/errors: %i)\n", shadertype, compilelog, pretextlines); + Con_DPrintf("%s shader compile log:\n%s\n(line offset for any above warnings/errors: %i)\n", shadertype, compilelog, pretextlines); } if (!shadercompiled) {