wined3d: Don't override variable that still has something we need.
Use local temp variable instead.
This commit is contained in:
parent
76e5e88fe7
commit
d2ef7869de
|
@ -1417,8 +1417,8 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
|
||||||
/* Generate lines that handle input modifier computation */
|
/* Generate lines that handle input modifier computation */
|
||||||
for (i = 1; i < curOpcode->num_params; ++i) {
|
for (i = 1; i < curOpcode->num_params; ++i) {
|
||||||
TRACE("(%p) : Param %ld token %lx\n", This, i, *(pToken + 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)) {
|
if (gen_input_modifier_line(*(pToken + i), i - 1, regs[i - 1], tmpOp, This->constants)) {
|
||||||
addline(&lineNum, pgmStr, &pgmLength, tmpLine);
|
addline(&lineNum, pgmStr, &pgmLength, tmpOp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue