Browse Source

Turn off GL3 vsync

Michael Ragazzon 3 years ago
parent
commit
e19433ede8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Backends/RmlUi_Backend_GLFW_GL3.cpp

+ 1 - 1
Backends/RmlUi_Backend_GLFW_GL3.cpp

@@ -89,7 +89,7 @@ bool Backend::Initialize(const char* name, int width, int height, bool allow_res
 		return false;
 		return false;
 
 
 	glfwMakeContextCurrent(window);
 	glfwMakeContextCurrent(window);
-	glfwSwapInterval(1);
+	glfwSwapInterval(0);
 
 
 	// Load the OpenGL functions.
 	// Load the OpenGL functions.
 	Rml::String renderer_message;
 	Rml::String renderer_message;