Skip to content

Commit 035d84f

Browse files
committed
Merge branch 'master' of github.com:Shirajuki/js-game-rendering-benchmark
2 parents 20c172c + 2370c2f commit 035d84f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/kontra.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ class KontraEngine extends Engine {
6464
r.el.y = r.y;
6565
}
6666
}
67-
this.fpsmeter.tick();
6867
},
6968
render: () => {
7069
for (let i = 0; i < this.count; i++) {
@@ -78,6 +77,7 @@ class KontraEngine extends Engine {
7877
this.ctx.stroke();
7978
}
8079
}
80+
this.fpsmeter.tick();
8181
},
8282
});
8383
this.loop.start();

0 commit comments

Comments
 (0)