rem: while ((T = TaskControl.tc.XFormTask) == 0)
add: while (TaskControl.tc.XFormTask == 0)
context: int xform_clut_task (void *foo){	TASK	T;	SIZE	TDelta, TTotal;	DWORD	CurTime;	XForming = TRUE;	while ((T = TaskControl.tc.XFormTask) == 0)		TaskSwitch ();	TTotal = TaskControl.Ticks;	TaskControl.tc.XFormTask = 0;	{		CurTime = GetTimeCounter ();		do		{			DWORD	StartTime;			StartTime = CurTime;			CurTime = SleepTask (CurTime + 2);			if (!XForming || (TDelta = (SIZE)(CurTime - StartTime)) > TTotal)				TDelta = TTotal;			cur += (end - cur) * TDelta / TTotal;			//_threedo_change_clut (cur);		} while (TTotal -= TDelta);	}	XForming = FALSE;	DeleteTask (T);	return 0;}