diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-03 23:51:01 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-03 23:51:01 +0200 |
commit | 60f202fca114edf503f7b7b5c94c0d7294482ada (patch) | |
tree | 9cf69a337184749ac771cb1444252f7f688583c8 /src | |
parent | test reading gamma ramps (diff) | |
download | libgamma-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.gpp | 6 |
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 |