Skip to content

Commit 7533005

Browse files
committed
Fix buffer size bug.
1 parent b406d10 commit 7533005

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/pixi/extras/Tilemap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ PIXI.Tilemap = function(texture, mapwidth, mapheight, tilewidth, tileheight, lay
6565
var mapSize = mapwidth * mapheight * 16;
6666

6767
// create buffer data for the webgl rendering of this tile
68-
this.buffer = new PIXI.Float32Array( mapSize * 16 );
68+
this.buffer = new PIXI.Float32Array( mapSize );
6969
};
7070

7171

0 commit comments

Comments
 (0)