wined3d: Don't bother with the GLSL info log if nobody's looking.

This commit is contained in:
Henri Verbeet 2009-01-02 16:19:12 +01:00 committed by Alexandre Julliard
parent 2e0212e998
commit 3c14b3936f
1 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,8 @@ static void print_glsl_info_log(const WineD3D_GL_Info *gl_info, GLhandleARB obj)
"WARNING: 0:2: extension 'GL_ARB_draw_buffers' is not supported\n" /* MacOS ati */
};
if (!TRACE_ON(d3d_shader) && !FIXME_ON(d3d_shader)) return;
GL_EXTCALL(glGetObjectParameterivARB(obj,
GL_OBJECT_INFO_LOG_LENGTH_ARB,
&infologLength));