[gegl] bump-map: remove pointless self-assignment
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] bump-map: remove pointless self-assignment
- Date: Fri, 1 May 2020 17:18:20 +0000 (UTC)
commit 7cbf33db415004080910838622e31cd4a6780a07
Author: Øyvind Kolås <pippin gimp org>
Date: Fri May 1 19:17:45 2020 +0200
bump-map: remove pointless self-assignment
Fixing issue #243.
operations/common-gpl3+/bump-map.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/operations/common-gpl3+/bump-map.c b/operations/common-gpl3+/bump-map.c
index 4ab1b4a16..c01a9251a 100644
--- a/operations/common-gpl3+/bump-map.c
+++ b/operations/common-gpl3+/bump-map.c
@@ -239,9 +239,6 @@ bumpmap_row (gfloat *row,
buf[b] = buf[b] * shade;
}
- if (params->in_has_alpha)
- buf[3] = buf[3];
-
buf += params->in_components;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]