diff options
author | Oxore <oxore@protonmail.com> | 2018-06-22 03:45:58 +0300 |
---|---|---|
committer | Oxore <oxore@protonmail.com> | 2018-06-22 03:45:58 +0300 |
commit | 63e929f7a23b44ff2b1e33ccf16307de20c2bdc8 (patch) | |
tree | 478ee7523a335f0b4a2a44668f7117890a153e11 | |
parent | 473833b6e649ba0e23dd0817decedfb445f0e47b (diff) |
Set frame rate limit
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -65,6 +65,7 @@ void prepare() { NULL); if (!w.window) exit(EXIT_FAILURE); + sfRenderWindow_setFramerateLimit(w.window, 60); } void handleWindowEvents() { |