فهرست منبع

added beginFrame for syc/timing purposes

ncannasse 7 سال پیش
والد
کامیت
5bf8c0d3db
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      h3d/Engine.hx

+ 3 - 0
h3d/Engine.hx

@@ -268,6 +268,9 @@ class Engine {
 		drawCalls = 0;
 		targetStack = null;
 		needFlushTarget = currentTargetTex != null;
+		#if usesys
+		haxe.System.beginFrame();
+		#end
 		driver.begin(frameCount);
 		if( backgroundColor != null ) clear(backgroundColor, 1, 0);
 		return true;