|
@@ -61,6 +61,7 @@ class BitmapData {
|
|
data = new BitmapInnerData();
|
|
data = new BitmapInnerData();
|
|
#if hl
|
|
#if hl
|
|
data.pixels = new hl.Bytes(width * height * 4);
|
|
data.pixels = new hl.Bytes(width * height * 4);
|
|
|
|
+ (data.pixels:hl.Bytes).fill(0, width * height * 4, 0);
|
|
#else
|
|
#else
|
|
data.pixels = new haxe.ds.Vector(width * height);
|
|
data.pixels = new haxe.ds.Vector(width * height);
|
|
#end
|
|
#end
|