diff --git a/spine-ts/spine-phaser/example/batching-test.html b/spine-ts/spine-phaser/example/batching-test.html index 3553a6926..439fa2942 100644 --- a/spine-ts/spine-phaser/example/batching-test.html +++ b/spine-ts/spine-phaser/example/batching-test.html @@ -1,75 +1,80 @@ - - - - - - - Spine Phaser Example - - -

Batching test

- - + + Spine Phaser Example + + + +

Batching test

+ + - + function update() { + debug.setText( + "draw calls: " + + spine.PolygonBatcher.getAndResetGlobalDrawCalls() + + "\ndelta: " + + game.loop.delta + ); + } + + + \ No newline at end of file