summaryrefslogtreecommitdiffstats
path: root/libdimension/color.c
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/color.c')
-rw-r--r--libdimension/color.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/color.c b/libdimension/color.c
index eea005b..02ecff9 100644
--- a/libdimension/color.c
+++ b/libdimension/color.c
@@ -263,7 +263,7 @@ dmnsn_filter_light(dmnsn_color light, dmnsn_color filter)
/* Adds the background contribution, `filtered', to `filter' */
dmnsn_color
-dmnsn_apply_translucency(dmnsn_color filtered, dmnsn_color filter)
+dmnsn_apply_transparency(dmnsn_color filtered, dmnsn_color filter)
{
dmnsn_color ret = dmnsn_color_add(
dmnsn_color_mul(1.0 - filter.trans, filter),
@@ -278,7 +278,7 @@ dmnsn_apply_translucency(dmnsn_color filtered, dmnsn_color filter)
dmnsn_color
dmnsn_apply_filter(dmnsn_color color, dmnsn_color filter)
{
- return dmnsn_apply_translucency(dmnsn_filter_light(color, filter), filter);
+ return dmnsn_apply_transparency(dmnsn_filter_light(color, filter), filter);
}
/* Remove the filter channel */