2
0
Эх сурвалжийг харах

don't call glFinish ! will stall cpu instead of using double buffering

Nicolas Cannasse 8 жил өмнө
parent
commit
53bbb47a14

+ 0 - 1
libs/sdl/sdl/Window.hx

@@ -69,7 +69,6 @@ class Window {
 			var spent = haxe.Timer.stamp() - lastFrame;
 			if( spent < 0.005 ) Sys.sleep(0.005 - spent);
 		}
-		GL.finish();
 		winSwapWindow(win);
 		lastFrame = haxe.Timer.stamp();
 	}