Try to introduce better window message handling and management, most probably needs fixing
This commit is contained in:
parent
f02ef15bc4
commit
3c79b4aa4b
3 changed files with 56 additions and 57 deletions
|
@ -66,7 +66,7 @@ DWORD WINAPI render_soft_main(void)
|
|||
frame_len = 1000.0f / ddraw->render.maxfps;
|
||||
}
|
||||
|
||||
while (ddraw->render.run && WaitForSingleObject(ddraw->render.sem, 100) != WAIT_FAILED)
|
||||
while (ddraw->render.run && WaitForSingleObject(ddraw->render.sem, INFINITE) != WAIT_FAILED)
|
||||
{
|
||||
if(ddraw->render.maxfps > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue