From e8fe850edf8d51f7c4ad7e369473c8f535ad24d9 Mon Sep 17 00:00:00 2001 From: svipal <48034417+svipal@users.noreply.github.com> Date: Sat, 8 Feb 2020 12:03:43 +0100 Subject: [PATCH] Update StaticTilemapLayerCanvasRenderer.js --- src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js b/src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js index d66f065f2..2f2400f09 100644 --- a/src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js +++ b/src/tilemaps/staticlayer/StaticTilemapLayerCanvasRenderer.js @@ -22,6 +22,7 @@ var StaticTilemapLayerCanvasRenderer = function (renderer, src, interpolationPercentage, camera, parentMatrix) { src.cull(camera); + var renderTiles = src.culledTiles; var tileCount = renderTiles.length;