Fixed small texture bug.

This commit is contained in:
photonstorm 2015-07-09 15:51:24 +01:00
parent 918e00b868
commit 5f611f83cb

View file

@ -58,6 +58,7 @@ Phaser.Create.prototype = {
var h = data.length * pixelHeight; var h = data.length * pixelHeight;
this.bmd.resize(w, h); this.bmd.resize(w, h);
this.bmd.clear();
// Draw it // Draw it
for (var y = 0; y < data.length; y++) for (var y = 0; y < data.length; y++)