From 511f62a11d88a9a8d3fd84e02d9b14089b54d734 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 12 Mar 2014 08:38:40 +0100 Subject: cause of set gamma failure determined MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/blueshift_drm_c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blueshift_drm_c.c b/src/blueshift_drm_c.c index 935afdc..4e8c750 100644 --- a/src/blueshift_drm_c.c +++ b/src/blueshift_drm_c.c @@ -431,7 +431,7 @@ int main(int argc, char** argv) *(blue + j) /= 2; drmModeCrtcSetGamma(drm_fd, *(drm_res->crtcs + crtc), gamma_size, red, green, blue); - // TODO what more is required to set gamma ramps? + /* Fails if inside a graphical environment */ } } } -- cgit v1.2.3-70-g09d2