Flash compile fix
This commit is contained in:
@@ -134,8 +134,7 @@ class Image {
|
|||||||
|
|
||||||
#if flash
|
#if flash
|
||||||
this.buffer = new ImageBuffer (null, width, height);
|
this.buffer = new ImageBuffer (null, width, height);
|
||||||
if (format == null || format == RGBA) color = ((color & 0xFF) << 24) | (color >> 8);
|
this.buffer.src = new BitmapData (width, height, true, ((color & 0xFF) << 24) | (color >> 8));
|
||||||
this.buffer.src = new BitmapData (width, height, true, color);
|
|
||||||
#end
|
#end
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user