From 79be8c025f550725b2e5fe3622953b775766da45 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 6 Nov 2010 13:48:24 +0100 Subject: [PATCH] Version string fixes. --- src/x11/x11_init.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/x11/x11_init.c b/src/x11/x11_init.c index 8f310e72..ac5c3054 100644 --- a/src/x11/x11_init.c +++ b/src/x11/x11_init.c @@ -300,8 +300,9 @@ const char* _glfwPlatformGetVersionString(void) #endif #if defined(_GLFW_HAS_XF86VIDMODE) " Xf86VidMode" -#else - " (no mode switching support)" +#endif +#if !defined(_GLFW_HAS_XRANDR) && !defined(_GLFW_HAS_XF86VIDMODE) + " no-mode-switching-support" #endif #if defined(_GLFW_HAS_GLXGETPROCADDRESS) " glXGetProcAddress" @@ -312,7 +313,7 @@ const char* _glfwPlatformGetVersionString(void) #elif defined(_GLFW_DLOPEN_LIBGL) " dlsym(libGL)" #else - " (no OpenGL extension support)" + " no-extension-support" #endif #if defined(_GLFW_USE_LINUX_JOYSTICKS) " Linux-joystick-API"