From cde95f72c0222115f00a94ea7716bf5f95110142 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 18 Jan 2012 18:13:31 +0100 Subject: [PATCH] Made X extensions be adjacent in version string. --- src/x11_init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/x11_init.c b/src/x11_init.c index 4ec8d1be..4a8d0250 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -630,6 +630,9 @@ const char* _glfwPlatformGetVersionString(void) #if !defined(_GLFW_HAS_XRANDR) && !defined(_GLFW_HAS_XF86VIDMODE) " no-mode-switching-support" #endif +#if defined(_GLFW_HAS_XKB) + " Xkb" +#endif #if defined(_GLFW_HAS_GLXGETPROCADDRESS) " glXGetProcAddress" #elif defined(_GLFW_HAS_GLXGETPROCADDRESSARB) @@ -641,9 +644,6 @@ const char* _glfwPlatformGetVersionString(void) #else " no-extension-support" #endif -#if defined(_GLFW_HAS_XKB) - " Xkb" -#endif #if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK) " clock_gettime" #endif