From a4b8b0f114e3259679885bf913bfb14099e3da38 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 22 Jan 2014 16:34:43 +0100 Subject: [PATCH] Removed superfluous test for RandR version. --- 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 8d3bb417..734639c8 100644 --- a/src/x11_gamma.c +++ b/src/x11_gamma.c @@ -38,11 +38,7 @@ // void _glfwInitGammaRamp(void) { - // RandR gamma support is only available with version 1.2 and above - if (_glfw.x11.randr.available && - (_glfw.x11.randr.versionMajor > 1 || - (_glfw.x11.randr.versionMajor == 1 && - _glfw.x11.randr.versionMinor >= 2))) + 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