Fix freezing when minimizing, thanks to Heavylobster for reporting and testing
This commit is contained in:
parent
158344348d
commit
f59421bbe8
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ HRESULT __stdcall ddraw_surface_Blt(IDirectDrawSurfaceImpl *This, LPRECT lpDestR
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(This->caps & DDSCAPS_PRIMARYSURFACE)
|
if(This->caps & DDSCAPS_PRIMARYSURFACE && ddraw->render.run)
|
||||||
{
|
{
|
||||||
WaitForSingleObject(ddraw->render.ev, INFINITE);
|
WaitForSingleObject(ddraw->render.ev, INFINITE);
|
||||||
ResetEvent(ddraw->render.ev);
|
ResetEvent(ddraw->render.ev);
|
||||||
|
|
Loading…
Reference in a new issue