https://bugs.winehq.org/show_bug.cgi?id=38475
Bug ID: 38475 Summary: Unused variable in glsl_shader.c Product: Wine Version: 1.7.41 Hardware: x86 OS: Mac OS X Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d Assignee: wine-bugs@winehq.org Reporter: isakov-sl@bk.ru
if (shader->limits->constant_float + extra_constants_needed + 1 < gl_info->limits.glsl_ps_float_constants) { shader_addline(buffer, "uniform vec4 ycorrection;\n"); extra_constants_needed++; } ---- What is the sense to do extra_constants_needed++ if this variable is no more used? May be some part of codes missed here?