From a4f7cf89ebd158d9e93bcdcb7a3709fd2a4a8e37 Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Mon, 9 Dec 2013 11:06:04 -0500 Subject: Constify gamma parameter to set_temperature() methods --- src/colorramp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/colorramp.h') diff --git a/src/colorramp.h b/src/colorramp.h index 326969e..f391082 100644 --- a/src/colorramp.h +++ b/src/colorramp.h @@ -23,6 +23,6 @@ #include void colorramp_fill(uint16_t *gamma_r, uint16_t *gamma_g, uint16_t *gamma_b, - int size, int temp, float brightness, float gamma[3]); + int size, int temp, float brightness, const float gamma[3]); #endif /* ! _REDSHIFT_COLORRAMP_H */ -- cgit v1.2.3-70-g09d2