mirror of
https://github.com/photonstorm/phaser
synced 2024-11-27 23:20:59 +00:00
Fixed small texture bug.
This commit is contained in:
parent
918e00b868
commit
5f611f83cb
1 changed files with 1 additions and 0 deletions
|
@ -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++)
|
||||||
|
|
Loading…
Reference in a new issue