aboutsummaryrefslogtreecommitdiff
path: root/src/glfw/window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/glfw/window.cc')
-rw-r--r--src/glfw/window.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glfw/window.cc b/src/glfw/window.cc
index c0074ad..77be947 100644
--- a/src/glfw/window.cc
+++ b/src/glfw/window.cc
@@ -14,6 +14,7 @@ Window::Window(const std::string& title):
_handle(glfwCreateWindow(_width, _height, title.c_str(), NULL, NULL)) {
if ( _handle != nullptr ) {
glfwMakeContextCurrent(_handle);
+ glfwSwapInterval(0);
if ( glewInit() == GLEW_OK ) {
_good = true;
}