aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz-cg.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-22 22:49:57 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-22 22:49:57 +0200
commit46d1ed733f99a6058b6117b0fa3c79b6f329caae (patch)
treecbffe9128f32263ba8a0da5340d6eb3dbde20648 /src/gamma-quartz-cg.c
parentlibrary linking and some of gamma-linux-drm (diff)
downloadlibgamma-46d1ed733f99a6058b6117b0fa3c79b6f329caae.tar.gz
libgamma-46d1ed733f99a6058b6117b0fa3c79b6f329caae.tar.bz2
libgamma-46d1ed733f99a6058b6117b0fa3c79b6f329caae.tar.xz
m misc + most of the gamma-linux-drm stuff
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/gamma-quartz-cg.c')
-rw-r--r--src/gamma-quartz-cg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gamma-quartz-cg.c b/src/gamma-quartz-cg.c
index 99d46e1..9bbe0a1 100644
--- a/src/gamma-quartz-cg.c
+++ b/src/gamma-quartz-cg.c
@@ -342,7 +342,8 @@ int libgamma_quartz_cg_crtc_set_gamma_rampsf(libgamma_crtc_state_t* restrict thi
CGDirectDisplayID crtc_id = crtcs[this->crtc];
CGError r;
#ifdef DEBUG
- if ((ramps.red_size != ramps.green_size) || (ramps.red_size != ramps.blue_size))
+ if ((ramps.red_size != ramps.green_size) ||
+ (ramps.red_size != ramps.blue_size))
return LIBGAMMA_MIXED_GAMMA_RAMP_SIZE;
#endif
r = CGSetDisplayTransferByTable(crtc_id, (uint32_t)(ramps.red_size),