bug fix for gdi frame skip, keep trying until last frame was drawn
This commit is contained in:
parent
5829453a1a
commit
91281e0530
2 changed files with 3 additions and 1 deletions
|
@ -60,7 +60,9 @@ DWORD WINAPI render_soft_main(void)
|
|||
DWORD curTick = timeGetTime();
|
||||
if (lastTick + frameLength > curTick)
|
||||
{
|
||||
ReleaseSemaphore(ddraw->render.sem, 1, NULL);
|
||||
SetEvent(ddraw->render.ev);
|
||||
SwitchToThread();
|
||||
continue;
|
||||
}
|
||||
lastTick = curTick;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue