aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3804f6f..b1f63e9 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -640,8 +640,8 @@ int main(int argc, char **argv)
}
else if(event.type == sf::Event::GainedFocus)
window.setFramerateLimit(FRAMERATE_FOCUSED);
- else if(event.type == sf::Event::LostFocus)
- window.setFramerateLimit(FRAMERATE_NOT_FOCUSED);
+ //else if(event.type == sf::Event::LostFocus)
+ // window.setFramerateLimit(FRAMERATE_NOT_FOCUSED);
currentChannel->processEvent(event);
}