Browse Source

don't reference haxe.System in macro

ncannasse 7 years ago
parent
commit
c505ae2075
1 changed files with 1 additions and 1 deletions
  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);