wined3d: Don't override variable that still has something we need.

Use local temp variable instead.
This commit is contained in:
Vitaliy Margolen 2006-03-12 13:45:47 -07:00 committed by Alexandre Julliard
parent 76e5e88fe7
commit d2ef7869de
1 changed files with 2 additions and 2 deletions

View File

@ -1417,8 +1417,8 @@ inline static VOID IWineD3DPixelShaderImpl_GenerateProgramArbHW(IWineD3DPixelSha
/* 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);
}
}