Fixed obvious bug in color xform task (only showed up when timer resolution was cranked)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@708 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -132,7 +132,7 @@ xform_clut_task (void *data)
|
|||||||
|
|
||||||
FadeAmount += (end - FadeAmount) * TDelta / TTotal;
|
FadeAmount += (end - FadeAmount) * TDelta / TTotal;
|
||||||
//fprintf (stderr, "xform_clut_task FadeAmount %d\n", FadeAmount);
|
//fprintf (stderr, "xform_clut_task FadeAmount %d\n", FadeAmount);
|
||||||
} while (TTotal -= TDelta && (!Task_ReadState (task, TASK_EXIT)));
|
} while ((TTotal -= TDelta) && (!Task_ReadState (task, TASK_EXIT)));
|
||||||
}
|
}
|
||||||
|
|
||||||
XForming = FALSE;
|
XForming = FALSE;
|
||||||
|
|||||||
Reference in New Issue
Block a user