aboutsummaryrefslogtreecommitdiffstats
path: root/yage/core/window.cpp
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-12-31 18:17:04 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-12-31 18:17:04 +0000
commit9038ee45f93b1ae07a28a516781676ebe3a67536 (patch)
treedecf78fe537ff4860b598abc139816a8443aa96a /yage/core/window.cpp
parent34908f108ad7c2ee6cff96491a0bc40381477424 (diff)
downloadYAGE-9038ee45f93b1ae07a28a516781676ebe3a67536.tar.gz
YAGE-9038ee45f93b1ae07a28a516781676ebe3a67536.zip
[Bug] Fixed null pointers in spritebatch.
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 5db75074..d8f3a7e8 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(1);
+ glfwSwapInterval(0);
// set the clear colour to black
glClearColor(0.18f, 0.18f, 0.18f, 1.f);