[Bug 38475] New: Unused variable in glsl_shader.c

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Apr 22 08:13:44 CDT 2015


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 at winehq.org
          Reporter: isakov-sl at 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?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list