aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-06-03 23:51:01 +0200
committerMattias Andrée <maandree@operamail.com>2014-06-03 23:51:01 +0200
commit60f202fca114edf503f7b7b5c94c0d7294482ada (patch)
tree9cf69a337184749ac771cb1444252f7f688583c8 /src
parenttest reading gamma ramps (diff)
downloadlibgamma-60f202fca114edf503f7b7b5c94c0d7294482ada.tar.gz
libgamma-60f202fca114edf503f7b7b5c94c0d7294482ada.tar.bz2
libgamma-60f202fca114edf503f7b7b5c94c0d7294482ada.tar.xz
fix infinite recursion caused by calling wrong function
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/lib/libgamma-facade.c.gpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libgamma-facade.c.gpp b/src/lib/libgamma-facade.c.gpp
index 033a7ef..96987d4 100644
--- a/src/lib/libgamma-facade.c.gpp
+++ b/src/lib/libgamma-facade.c.gpp
@@ -701,7 +701,7 @@ int libgamma_crtc_get_gamma_ramps(libgamma_crtc_state_t* restrict this,
libgamma_gamma_ramps_any_t ramps_;
ramps_.bits16 = *ramps;
return libgamma_translated_ramp_get(this, &ramps_, 16, -1,
- libgamma_crtc_get_gamma_ramps);
+ libgamma_crtc_get_gamma_rampsf);
}
#endif
@@ -744,7 +744,7 @@ int libgamma_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
libgamma_gamma_ramps_any_t ramps_;
ramps_.bits16 = ramps;
return libgamma_translated_ramp_set(this, ramps_, 16, -1,
- libgamma_crtc_set_gamma_ramps);
+ libgamma_crtc_set_gamma_rampsf);
}
#endif
@@ -803,7 +803,7 @@ int libgamma_crtc_£{action}_gamma_£{ramps}(libgamma_crtc_state_t* restrict thi
/* Something else is used and we convert to Single precision float. */
ramps_.£{type} = £{p}ramps;
return libgamma_translated_ramp_£{action}(this, £{p:+&}ramps_, £{bits}, -1,
- libgamma_crtc_£{action}_gamma_ramps);
+ libgamma_crtc_£{action}_gamma_rampsf);
£>fi
#endif