Skip to content

Commit a77e8b7

Browse files
committed
Remove checking if frame limit percent isn't enabled from afterVsync frame limiter checks as the code handles it.
1 parent 935d764 commit a77e8b7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/RageDisplay.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -969,8 +969,7 @@ void RageDisplay::FrameLimitAfterVsync( int iFPS )
969969
g_LastFrameEndedAtRage.Touch();
970970
return;
971971
}
972-
else if (g_fFrameLimitPercent.Get() == 0 && g_fFrameLimit.Get() == 0 &&
973-
g_fFrameLimitGameplay.Get() == 0)
972+
else if ( g_fFrameLimit.Get() == 0 && g_fFrameLimitGameplay.Get() == 0 )
974973
return;
975974

976975
if ( presentFrame )

0 commit comments

Comments
 (0)