implement frame limiting in OGL

This commit is contained in:
Glenn Maynard
2006-01-17 01:43:11 +00:00
parent af409260eb
commit 4e2a691e47
+3
View File
@@ -678,7 +678,10 @@ void RageDisplay_OGL::EndFrame()
// Gog-knows-what.
glFlush();
FrameLimitBeforeVsync( g_pWind->GetActualVideoModeParams().rate );
g_pWind->SwapBuffers();
if( iRefreshRate > 0 )
FrameLimitAfterVsync();
g_pWind->Update();