summaryrefslogtreecommitdiffstats
path: root/src/blueshift_drm_c.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-12 08:38:40 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-12 08:38:40 +0100
commit511f62a11d88a9a8d3fd84e02d9b14089b54d734 (patch)
tree847042d066d00bc3e04c7ab024390e61379238f2 /src/blueshift_drm_c.c
parentread add outputs (diff)
downloadblueshift-511f62a11d88a9a8d3fd84e02d9b14089b54d734.tar.gz
blueshift-511f62a11d88a9a8d3fd84e02d9b14089b54d734.tar.bz2
blueshift-511f62a11d88a9a8d3fd84e02d9b14089b54d734.tar.xz
cause of set gamma failure determined
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/blueshift_drm_c.c2
1 files changed, 1 insertions, 1 deletions
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 */
}
}
}