mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-21 21:41:02 +00:00
Fix IcoFormat::onLoad() clearing the image as first step
because sometimes some pixels are not set.
This commit is contained in:
parent
bda7f6c31d
commit
d85305322d
@ -143,6 +143,7 @@ bool IcoFormat::onLoad(FileOp* fop)
|
||||
int image_index = sprite->getStock()->addImage(image);
|
||||
Cel* cel = new Cel(0, image_index);
|
||||
layer->addCel(cel);
|
||||
image_clear(image, 0);
|
||||
|
||||
// Go to the entry start in the file
|
||||
fseek(f, entry.image_offset, SEEK_SET);
|
||||
|
Loading…
x
Reference in New Issue
Block a user