mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix return DD_OK on WaitForVerticalBlank
This commit is contained in:
parent
7a7b419866
commit
c41f4566cd
@ -1778,7 +1778,7 @@ HRESULT __stdcall ddraw_WaitForVerticalBlank(IDirectDrawImpl *This, DWORD dwFlag
|
|||||||
if (!nextGameTick)
|
if (!nextGameTick)
|
||||||
{
|
{
|
||||||
nextGameTick = timeGetTime();
|
nextGameTick = timeGetTime();
|
||||||
return;
|
return DD_OK;
|
||||||
}
|
}
|
||||||
nextGameTick += ddraw->flipLimiter.ticklength;
|
nextGameTick += ddraw->flipLimiter.ticklength;
|
||||||
DWORD tickCount = timeGetTime();
|
DWORD tickCount = timeGetTime();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user