Browse Source

fix in webgl as well, no glfinish is recommended

Nicolas Cannasse 8 years ago
parent
commit
1c047de613
1 changed files with 1 additions and 5 deletions
  1. 1 5
      h3d/impl/GlDriver.hx

+ 1 - 5
h3d/impl/GlDriver.hx

@@ -897,11 +897,7 @@ class GlDriver extends Driver {
 	}
 
 	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() {