Skip to content

Commit

Permalink
Gloom: Loop rate no longer affects window refresh rate
Browse files Browse the repository at this point in the history
  • Loading branch information
skyjake committed Sep 1, 2019
1 parent 3feba2b commit 2b414b8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/apps/gloom/src/mainwindow.cpp
Expand Up @@ -131,10 +131,10 @@ DE_PIMPL(MainWindow)
updateRootSize();
}

void windowFocusChanged(GLWindow &, bool hasFocus)
void windowFocusChanged(GLWindow &, bool /*hasFocus*/)
{
auto &loop = Loop::get();
loop.setRate(hasFocus ? 60 : 2);
// auto &loop = Loop::get();
// loop.setRate(hasFocus ? 60 : 2);
}
};

Expand Down

0 comments on commit 2b414b8

Please sign in to comment.