summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 57c923d..1059cb6 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -21,7 +21,7 @@ int main()
game::state_t game;
interface::state_t interface(&window, &game);
- window.setVerticalSyncEnabled(true);
+ window.setVerticalSyncEnabled(false);
text::load_strings("pl");
assets::load();
@@ -43,5 +43,7 @@ int main()
render.end_frame();
}
+ game.stop();
+
return 0;
}