Skip to content
Snippets Groups Projects
Unverified Commit ddff188c authored by bunnei's avatar bunnei Committed by GitHub
Browse files

Merge pull request #1563 from lioncash/frame

perf_stats: Remove unused variable within DoFrameLimiting()
parents d14ba122 7c9f7aea
No related branches found
No related tags found
No related merge requests found
......@@ -74,10 +74,6 @@ double PerfStats::GetLastFrameTimeScale() {
}
void FrameLimiter::DoFrameLimiting(microseconds current_system_time_us) {
// Max lag caused by slow frames. Can be adjusted to compensate for too many slow frames. Higher
// values increase the time needed to recover and limit framerate again after spikes.
constexpr microseconds MAX_LAG_TIME_US = 25000us;
if (!Settings::values.use_frame_limit) {
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment