mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
remove sleep in setdisplaymode
This commit is contained in:
parent
217ecd89b5
commit
e14e1e74c5
@ -387,7 +387,6 @@ HRESULT __stdcall ddraw_SetDisplayMode(IDirectDrawImpl *This, DWORD width, DWORD
|
|||||||
|
|
||||||
WaitForSingleObject(This->render.thread, INFINITE);
|
WaitForSingleObject(This->render.thread, INFINITE);
|
||||||
This->render.thread = NULL;
|
This->render.thread = NULL;
|
||||||
Sleep(500);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!This->mode.dmPelsWidth)
|
if (!This->mode.dmPelsWidth)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user