Vitaliy Margolen : wined3d: Don'
t override variable that still has something we need.
Alexandre Julliard
julliard at wine.codeweavers.com
Mon Mar 13 08:46:40 CST 2006
Module: wine
Branch: refs/heads/master
Commit: d2ef7869de08c8ec48971bb3f207a5ab5fb407ed
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=d2ef7869de08c8ec48971bb3f207a5ab5fb407ed
Author: Vitaliy Margolen <wine-patch at kievinfo.com>
Date: Sun Mar 12 13:45:47 2006 -0700
wined3d: Don't override variable that still has something we need.
Use local temp variable instead.
---
dlls/wined3d/pixelshader.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/wined3d/pixelshader.c b/dlls/wined3d/pixelshader.c
index 115795f..1b24f3d 100644
--- a/dlls/wined3d/pixelshader.c
+++ b/dlls/wined3d/pixelshader.c
@@ -1417,8 +1417,8 @@ inline static VOID IWineD3DPixelShaderIm
/* Generate lines that handle input modifier computation */
for (i = 1; i < curOpcode->num_params; ++i) {
TRACE("(%p) : Param %ld token %lx\n", This, i, *(pToken + i));
- if (gen_input_modifier_line(*(pToken + i), i - 1, regs[i - 1], tmpLine, This->constants)) {
- addline(&lineNum, pgmStr, &pgmLength, tmpLine);
+ if (gen_input_modifier_line(*(pToken + i), i - 1, regs[i - 1], tmpOp, This->constants)) {
+ addline(&lineNum, pgmStr, &pgmLength, tmpOp);
}
}
More information about the wine-cvs
mailing list