Initialize premultiplied in ImageBuffer's constructor
This commit is contained in:
@@ -48,6 +48,7 @@ class ImageBuffer {
|
|||||||
this.height = height;
|
this.height = height;
|
||||||
this.bitsPerPixel = bitsPerPixel;
|
this.bitsPerPixel = bitsPerPixel;
|
||||||
this.format = (format == null ? RGBA32 : format);
|
this.format = (format == null ? RGBA32 : format);
|
||||||
|
premultiplied = false;
|
||||||
transparent = true;
|
transparent = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user