GetVideoModeParams -> GetActualVideoModeParams
add GetApiDescription
This commit is contained in:
@@ -44,7 +44,7 @@ static void CheckGameLoopTimerSkips( float fDeltaTime )
|
||||
|
||||
/* If vsync is on, and we have a solid framerate (vsync == refresh and we've sustained this
|
||||
* for at least one second), we expect the amount of time for the last frame to be 1/FPS. */
|
||||
if( iThisFPS != DISPLAY->GetVideoModeParams().rate || iThisFPS != iLastFPS )
|
||||
if( iThisFPS != DISPLAY->GetActualVideoModeParams().rate || iThisFPS != iLastFPS )
|
||||
{
|
||||
iLastFPS = iThisFPS;
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user