force wait on flip with maxgameticks = -2
This commit is contained in:
parent
6efc112c39
commit
72f60913da
1 changed files with 1 additions and 1 deletions
|
@ -708,7 +708,7 @@ HRESULT dds_Flip(IDirectDrawSurfaceImpl *This, LPDIRECTDRAWSURFACE surface, DWOR
|
|||
ReleaseSemaphore(g_ddraw->render.sem, 1, NULL);
|
||||
SwitchToThread();
|
||||
|
||||
if (flags & DDFLIP_WAIT)
|
||||
if ((flags & DDFLIP_WAIT) || g_ddraw->maxgameticks == -2)
|
||||
{
|
||||
dd_WaitForVerticalBlank(DDWAITVB_BLOCKEND, NULL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue