app: in gimp_composite_blend(), avoid an alloca when doing in-place output
This commit is contained in:
parent
a1b844897c
commit
4d985d11df
1 changed files with 1 additions and 1 deletions
|
|
@ -318,7 +318,7 @@ gimp_composite_blend (gfloat *in,
|
|||
if (composite_mode == GIMP_LAYER_COMPOSITE_SRC_OVER ||
|
||||
composite_mode == GIMP_LAYER_COMPOSITE_SRC_ATOP)
|
||||
{
|
||||
if (composite_in == in)
|
||||
if (composite_in == in && in != out)
|
||||
composite_in = g_alloca (sizeof (gfloat) * 4 * samples);
|
||||
|
||||
babl_process (fish_to_composite,
|
||||
|
|
|
|||
Loading…
Reference in a new issue