瀏覽代碼

no inline

ncannasse 9 年之前
父節點
當前提交
b7ec2e5fd0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/Timer.hx

+ 1 - 1
hxd/Timer.hx

@@ -11,7 +11,7 @@ class Timer {
 	public static var deltaT : Float = 1;
 	static var frameCount = 0;
 
-	public inline static function update() {
+	public static function update() {
 		frameCount++;
 		var newTime = haxe.Timer.stamp();
 		deltaT = newTime - oldTime;