aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-quartz-cg.c
diff options
context:
space:
mode:
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),