force at least 5 FPS to avoid problems in the menus
This commit is contained in:
parent
24b0e5cf24
commit
9cbd2de62f
2 changed files with 2 additions and 2 deletions
|
@ -214,7 +214,7 @@ static void Render()
|
|||
DWORD tick_start = 0;
|
||||
DWORD tick_end = 0;
|
||||
|
||||
while (ddraw->render.run && WaitForSingleObject(ddraw->render.sem, INFINITE) != WAIT_FAILED)
|
||||
while (ddraw->render.run && WaitForSingleObject(ddraw->render.sem, 200) != WAIT_FAILED)
|
||||
{
|
||||
#if _DEBUG
|
||||
DrawFrameInfoStart();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue