浏览代码

don't reference haxe.System in macro

ncannasse 7 年之前
父节点
当前提交
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);