diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-31 18:17:04 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-12-31 18:17:04 +0000 |
commit | 9038ee45f93b1ae07a28a516781676ebe3a67536 (patch) | |
tree | decf78fe537ff4860b598abc139816a8443aa96a /yage/core/window.cpp | |
parent | 34908f108ad7c2ee6cff96491a0bc40381477424 (diff) | |
download | YAGE-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.cpp | 2 |
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); |