]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fixed shader compile log to use Con_DPrintf.
authorvortex <vortex@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Feb 2012 22:09:50 +0000 (22:09 +0000)
committerRudolf Polzer <divverent@alientrap.org>
Mon, 20 Feb 2012 15:00:38 +0000 (16:00 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11701 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=5706ee262b241af0741d267f9215cbb7cf03ec4f

gl_backend.c

index 8df14f8e1da990268ea13c0e6ca26e9ec5e30ee0..2f14c54a4c8ec76684c433d79926030003dce7e2 100644 (file)
@@ -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)
        {