mirror of https://github.com/GNOME/gimp.git
Bug 719662 - plug-in-borderaverage returns a garbage alpha value
Return a fully opaque color instead of a random-memory alpha value.
This commit is contained in:
parent
0e1978d273
commit
56cdf642fc
|
@ -316,7 +316,7 @@ borderaverage (GeglBuffer *buffer,
|
|||
}
|
||||
|
||||
/* return the color */
|
||||
gimp_rgb_set_uchar (result, r, g, b);
|
||||
gimp_rgba_set_uchar (result, r, g, b, 255);
|
||||
|
||||
g_free (cube);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue