From fa6f29a4e66afe415795f9c96ca57bc079b9f964 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 6 Nov 2010 20:25:33 +0100 Subject: [PATCH] Fixed malplaced endif statements. --- src/x11/x11_gamma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x11/x11_gamma.c b/src/x11/x11_gamma.c index d0a32277..ad6af683 100644 --- a/src/x11/x11_gamma.c +++ b/src/x11/x11_gamma.c @@ -63,8 +63,8 @@ void _glfwPlatformGetGammaRamp(GLFWgammaramp* ramp) XRRFreeGamma(gamma); XRRFreeScreenResources(rr); - } #endif /*_GLFW_HAS_XRANDR*/ + } else if (_glfwLibrary.X11.VidMode.available) { #if defined (_GLFW_HAS_XF86VIDMODE) @@ -109,8 +109,8 @@ void _glfwPlatformSetGammaRamp(const GLFWgammaramp* ramp) } XRRFreeScreenResources(rr); - } #endif /*_GLFW_HAS_XRANDR*/ + } else if (_glfwLibrary.X11.VidMode.available) { #if defined (_GLFW_HAS_XF86VIDMODE)