From 46d1ed733f99a6058b6117b0fa3c79b6f329caae Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 22 May 2014 22:49:57 +0200 Subject: m misc + most of the gamma-linux-drm stuff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/gamma-quartz-cg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gamma-quartz-cg.c') 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), -- cgit v1.2.3-70-g09d2