mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
wined3d: Don't bother with the GLSL info log if nobody's looking.
This commit is contained in:
parent
2e0212e998
commit
3c14b3936f
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue