From 9038ee45f93b1ae07a28a516781676ebe3a67536 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sun, 31 Dec 2017 18:17:04 +0000 Subject: [Bug] Fixed null pointers in spritebatch. --- yage/core/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'yage/core') 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); -- cgit