From 13156de8c3414ae40ccd34b5f71637bccfdc8db3 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 22 Jan 2014 16:36:51 +0100 Subject: [PATCH] Updated stale X11 gamma comments. --- src/x11_gamma.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/x11_gamma.c b/src/x11_gamma.c index 734639c8..f86e9657 100644 --- a/src/x11_gamma.c +++ b/src/x11_gamma.c @@ -40,17 +40,13 @@ void _glfwInitGammaRamp(void) { if (_glfw.x11.randr.available) { - // FIXME: Assumes that all monitors have the same size gamma tables - // This is reasonable as I suspect the that if they did differ, it - // would imply that setting the gamma size to an arbitary size is - // possible as well. XRRScreenResources* rr = XRRGetScreenResources(_glfw.x11.display, _glfw.x11.root); if (XRRGetCrtcGammaSize(_glfw.x11.display, rr->crtcs[0]) == 0) { // This is probably older Nvidia RandR with broken gamma support - // Flag it as useless and try Xf86VidMode below, if available + // Flag it as useless and fall back to Xf86VidMode, if available _glfw.x11.randr.gammaBroken = GL_TRUE; }