summaryrefslogtreecommitdiffstats
path: root/src/Render.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-03 18:22:00 +0100
committerLaG1924 <12997935+LaG1924@users.noreply.github.com>2018-01-13 03:39:33 +0100
commit3a12bca4724b2e35605d014020e481cc5436f4ae (patch)
treeb5c8309631e4fd3d60f9dfa50df02d310c4b1a3c /src/Render.cpp
parentFixed compilation errors (diff)
downloadAltCraft-3a12bca4724b2e35605d014020e481cc5436f4ae.tar
AltCraft-3a12bca4724b2e35605d014020e481cc5436f4ae.tar.gz
AltCraft-3a12bca4724b2e35605d014020e481cc5436f4ae.tar.bz2
AltCraft-3a12bca4724b2e35605d014020e481cc5436f4ae.tar.lz
AltCraft-3a12bca4724b2e35605d014020e481cc5436f4ae.tar.xz
AltCraft-3a12bca4724b2e35605d014020e481cc5436f4ae.tar.zst
AltCraft-3a12bca4724b2e35605d014020e481cc5436f4ae.zip
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() {