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