From 0846d5802965d257f176e033d7a6ac353ed648f3 Mon Sep 17 00:00:00 2001 From: majortom6 Date: Sun, 19 Feb 2017 12:00:52 -0600 Subject: -speedcaps now working again -creatures now randomize target better again -thats enough for today, src is still a mess and main can be cleaned a bit --- src/window.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index 9306b15..bd6fdcf 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -13,6 +13,7 @@ Window::Window(int width, int height, const std::string& title) main = SDL_CreateWindow(title.c_str(), SDL_WINDOWPOS_CENTERED,SDL_WINDOWPOS_CENTERED,width,height,SDL_WINDOW_OPENGL); glContext = SDL_GL_CreateContext(main); + SDL_GL_SetSwapInterval(0); GLenum status = glewInit(); closed = false; -- cgit v1.2.3