mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
libgimp: fix swapped alpha handling in indexed case
This commit is contained in:
parent
f057aa7932
commit
2cb15f8669
1 changed files with 2 additions and 2 deletions
|
@ -762,9 +762,9 @@ gimp_drawable_get_format (gint32 drawable_ID)
|
|||
g_free (colormap);
|
||||
|
||||
if (gimp_drawable_has_alpha (drawable_ID))
|
||||
format = palette;
|
||||
else
|
||||
format = palette_alpha;
|
||||
else
|
||||
format = palette;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue