Explorar o código

don't call finish() in present!

Nicolas Cannasse %!s(int64=8) %!d(string=hai) anos
pai
achega
7890130ac9
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      h3d/impl/GlDriver.hx

+ 4 - 0
h3d/impl/GlDriver.hx

@@ -897,6 +897,10 @@ class GlDriver extends Driver {
 	}
 
 	override function present() {
+		#if hxsdl
+		// let the window buffer swap do the job
+		return;
+		#end
 		gl.finish();
 	}