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

don't reference haxe.System in macro

ncannasse 7 жил өмнө
parent
commit
c505ae2075
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      h3d/Engine.hx

+ 1 - 1
h3d/Engine.hx

@@ -284,7 +284,7 @@ class Engine {
 		drawCalls = 0;
 		targetStack = null;
 		needFlushTarget = currentTargetTex != null;
-		#if usesys
+		#if (usesys && !macro)
 		haxe.System.beginFrame();
 		#end
 		driver.begin(hxd.Timer.frameCount);