summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Render.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Render.cpp b/src/Render.cpp
index a5f1e8b..5c58985 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -53,6 +53,8 @@ void Render::InitSfml(unsigned int WinWidth, unsigned int WinHeight, std::string
SetMouseCapture(false);
renderState.WindowWidth = WinWidth;
renderState.WindowHeight = WinHeight;
+
+ SDL_GL_SetSwapInterval(0);
}
void Render::InitGlew() {