浏览代码

fix in webgl as well, no glfinish is recommended

Nicolas Cannasse 8 年之前
父节点
当前提交
1c047de613
共有 1 个文件被更改,包括 1 次插入5 次删除
  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() {