revert some changes
This commit is contained in:
parent
9821d80044
commit
eb1c261ac7
6 changed files with 63 additions and 21 deletions
|
@ -95,7 +95,7 @@ DWORD WINAPI render_soft_main(void)
|
|||
frame_len = 1000.0f / ddraw->render.maxfps;
|
||||
}
|
||||
|
||||
while (ddraw->render.thread)
|
||||
while (ddraw->render.thread && WaitForSingleObject(ddraw->render.sem, INFINITE) != WAIT_FAILED)
|
||||
{
|
||||
if(ddraw->render.maxfps > 0)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue