mirror of
https://github.com/photonstorm/phaser
synced 2025-01-09 19:58:52 +00:00
Update StaticTilemapLayerCanvasRenderer.js
This commit is contained in:
parent
7122ea0b6b
commit
e8fe850edf
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
||||||
var StaticTilemapLayerCanvasRenderer = function (renderer, src, interpolationPercentage, camera, parentMatrix)
|
var StaticTilemapLayerCanvasRenderer = function (renderer, src, interpolationPercentage, camera, parentMatrix)
|
||||||
{
|
{
|
||||||
src.cull(camera);
|
src.cull(camera);
|
||||||
|
|
||||||
var renderTiles = src.culledTiles;
|
var renderTiles = src.culledTiles;
|
||||||
var tileCount = renderTiles.length;
|
var tileCount = renderTiles.length;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue