Przeglądaj źródła

don't reference haxe.System in macro

ncannasse 7 lat temu
rodzic
commit
c505ae2075
1 zmienionych plików z 1 dodań i 1 usunięć
  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);