fix return DD_OK on WaitForVerticalBlank
This commit is contained in:
parent
7a7b419866
commit
c41f4566cd
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue