aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yage/core/window.cpp')
-rw-r--r--yage/core/window.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yage/core/window.cpp b/yage/core/window.cpp
index d8f3a7e8..5db75074 100644
--- a/yage/core/window.cpp
+++ b/yage/core/window.cpp
@@ -58,7 +58,7 @@ void Window::create(std::string window_name, int width, int height)
glfwSetKeyCallback(window_, key_callback);
// set vsync on
- glfwSwapInterval(0);
+ glfwSwapInterval(1);
// set the clear colour to black
glClearColor(0.18f, 0.18f, 0.18f, 1.f);