mirror of
https://github.com/photonstorm/phaser
synced 2024-11-24 05:33:35 +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