wined3d: Don't bother with the GLSL info log if nobody's looking.
This commit is contained in:
parent
2e0212e998
commit
3c14b3936f
|
@ -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));
|
||||
|
|
Loading…
Reference in New Issue