Fix performance issue in paused state

cpp
Elnu 3 years ago
parent eee95af5e3
commit efa898ebaa

@ -264,6 +264,9 @@ int main()
} }
if (paused) { if (paused) {
// window.display() is where SFML implements frame rate limiting
// If we don't run this here, then when paused septadrop will max out the thread
window.display();
continue; continue;
} }

Loading…
Cancel
Save