[gimp] app: unconditionally set alpha in hardlight/softlight/overlay
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: unconditionally set alpha in hardlight/softlight/overlay
- Date: Thu, 19 Jan 2017 13:45:00 +0000 (UTC)
commit f64566532424e9c1b9431cc08fd39aa8146398ea
Author: Øyvind Kolås <pippin gimp org>
Date: Thu Jan 19 14:44:39 2017 +0100
app: unconditionally set alpha in hardlight/softlight/overlay
app/operations/layer-modes/gimpblendcomposite.h | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/app/operations/layer-modes/gimpblendcomposite.h b/app/operations/layer-modes/gimpblendcomposite.h
index b369354..8f65955 100644
--- a/app/operations/layer-modes/gimpblendcomposite.h
+++ b/app/operations/layer-modes/gimpblendcomposite.h
@@ -660,9 +660,8 @@ blendfun_hardlight (const float *dest,
out[c] = comp;
}
-
- out[ALPHA] = src[ALPHA];
}
+ out[ALPHA] = src[ALPHA];
out += 4;
src += 4;
@@ -690,9 +689,8 @@ blendfun_softlight (const float *dest,
out[c] = comp;
}
-
- out[ALPHA] = src[ALPHA];
}
+ out[ALPHA] = src[ALPHA];
out += 4;
src += 4;
@@ -727,9 +725,8 @@ blendfun_overlay (const float *dest,
out[c] = comp;
}
-
- out[ALPHA] = src[ALPHA];
}
+ out[ALPHA] = src[ALPHA];
out += 4;
src += 4;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]