aboutsummaryrefslogtreecommitdiffstats
path: root/set_ramps_fun.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--set_ramps_fun.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/set_ramps_fun.h b/set_ramps_fun.h
index bdd1fe8..5a3b541 100644
--- a/set_ramps_fun.h
+++ b/set_ramps_fun.h
@@ -45,6 +45,6 @@ for (i = 0, n = ramps.blue_size; i < n; i++)
ramps.blue[i] = blue_function((float)i / (float)(n - 1));
/* Apply the gamma ramps */
-e = APPEND_RAMPS(libgamma_crtc_set_gamma_)(this, ramps);
+e = APPEND_RAMPS(libgamma_crtc_set_gamma_)(this, &ramps);
free(ramps.red);
return e;