mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-04 08:46:09 +00:00
Fix uninitialized rgbmap (found w/MSVC debug, GitHub actions failed)
Regression from 2785a9fef7
This commit is contained in:
parent
1912053f33
commit
f7dee88901
@ -219,6 +219,9 @@ void SetPixelFormat::convertImage(doc::Sprite* sprite,
|
||||
else
|
||||
newMaskIndex = rgbmap->maskIndex();
|
||||
}
|
||||
else {
|
||||
rgbmap = nullptr;
|
||||
}
|
||||
ImageRef newImage(
|
||||
render::convert_pixel_format
|
||||
(oldImage.get(), nullptr, m_newFormat,
|
||||
|
Loading…
Reference in New Issue
Block a user