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:
Michael Natterer 2013-12-01 23:00:24 +01:00
parent 0e1978d273
commit 56cdf642fc
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}