From 4770a41069eca8b338860d1379fb7d1a64b3aecb Mon Sep 17 00:00:00 2001 From: vortex Date: Sat, 18 Feb 2012 22:09:50 +0000 Subject: [PATCH] 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 --- gl_backend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.39.2