wined3d: Remove dead code (clang)

André Hentschel nerv at dawncrow.de
Sun Jul 3 13:17:17 CDT 2011


---
 dlls/wined3d/arb_program_shader.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/arb_program_shader.c b/dlls/wined3d/arb_program_shader.c
index e533018..0823c03 100644
--- a/dlls/wined3d/arb_program_shader.c
+++ b/dlls/wined3d/arb_program_shader.c
@@ -3777,8 +3777,6 @@ static GLuint shader_arb_generate_pshader(struct wined3d_shader *shader,
             shader_addline(buffer, "PARAM np2fixup[%u] = { program.env[%u..%u] };\n",
                            fixup->super.num_consts, fixup->offset, fixup->super.num_consts + fixup->offset - 1);
         }
-
-        next_local += fixup->super.num_consts;
     }
 
     if (shader_priv->clipplane_emulation != ~0U && args->clip)
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list