We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b406d10 commit 7533005Copy full SHA for 7533005
1 file changed
src/pixi/extras/Tilemap.js
@@ -65,7 +65,7 @@ PIXI.Tilemap = function(texture, mapwidth, mapheight, tilewidth, tileheight, lay
65
var mapSize = mapwidth * mapheight * 16;
66
67
// create buffer data for the webgl rendering of this tile
68
- this.buffer = new PIXI.Float32Array( mapSize * 16 );
+ this.buffer = new PIXI.Float32Array( mapSize );
69
};
70
71
0 commit comments