aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-09-13 11:32:05 +0200
committerMattias Andrée <maandree@operamail.com>2014-09-13 11:32:05 +0200
commit6c48bac954014628681b211ff5c2575c026eee06 (patch)
treea99494eae82e20402cfdde4271b376507d19e81c /src/test/test.c
parenttest other bit-depths, 8 bits is not working when 16 bits is native (diff)
downloadlibgamma-6c48bac954014628681b211ff5c2575c026eee06.tar.gz
libgamma-6c48bac954014628681b211ff5c2575c026eee06.tar.bz2
libgamma-6c48bac954014628681b211ff5c2575c026eee06.tar.xz
update gamma-helper to support 8-bit ramps
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/test/test.c')
-rw-r--r--src/test/test.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test.c b/src/test/test.c
index 5604efe..988b4a2 100644
--- a/src/test/test.c
+++ b/src/test/test.c
@@ -273,10 +273,9 @@ int main(void)
{
/* ramps16 is last because we want to make sure that the gamma ramps are
preserved exactly on exit, and we assume RandR X is used. */
-#define LIST_INTEGER_RAMPS X(ramps32) X(ramps64) X(ramps16)
+#define LIST_INTEGER_RAMPS X(ramps8) X(ramps32) X(ramps64) X(ramps16)
#define LIST_FLOAT_RAMPS X(rampsf) X(rampsd)
#define LIST_RAMPS LIST_FLOAT_RAMPS LIST_INTEGER_RAMPS
- /* TODO X(ramps8) */
libgamma_site_state_t* restrict site_state = malloc(sizeof(libgamma_site_state_t));
libgamma_partition_state_t* restrict part_state = malloc(sizeof(libgamma_partition_state_t));