2
0
Эх сурвалжийг харах

added beginFrame for syc/timing purposes

ncannasse 7 жил өмнө
parent
commit
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;