Explorar el Código

fix in webgl as well, no glfinish is recommended

Nicolas Cannasse hace 8 años
padre
commit
1c047de613
Se han modificado 1 ficheros con 1 adiciones y 5 borrados
  1. 1 5
      h3d/impl/GlDriver.hx

+ 1 - 5
h3d/impl/GlDriver.hx

@@ -897,11 +897,7 @@ class GlDriver extends Driver {
 	}
 	}
 
 
 	override function present() {
 	override function present() {
-		#if hxsdl
-		// let the window buffer swap do the job
-		return;
-		#end
-		gl.finish();
+		// no gl finish or flush !
 	}
 	}
 
 
 	override function isDisposed() {
 	override function isDisposed() {