From 3a12bca4724b2e35605d014020e481cc5436f4ae Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Wed, 3 Jan 2018 22:22:00 +0500 Subject: Disabled VSync --- src/Render.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Render.cpp') 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() { -- cgit v1.2.3