ソースを参照

don't call finish() in present!

Nicolas Cannasse 8 年 前
コミット
7890130ac9
1 ファイル変更4 行追加0 行削除
  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();
 	}