Version string fixes.

This commit is contained in:
Camilla Berglund 2010-11-06 13:48:24 +01:00
parent dc1bb860e7
commit 79be8c025f

View File

@ -300,8 +300,9 @@ const char* _glfwPlatformGetVersionString(void)
#endif #endif
#if defined(_GLFW_HAS_XF86VIDMODE) #if defined(_GLFW_HAS_XF86VIDMODE)
" Xf86VidMode" " Xf86VidMode"
#else #endif
" (no mode switching support)" #if !defined(_GLFW_HAS_XRANDR) && !defined(_GLFW_HAS_XF86VIDMODE)
" no-mode-switching-support"
#endif #endif
#if defined(_GLFW_HAS_GLXGETPROCADDRESS) #if defined(_GLFW_HAS_GLXGETPROCADDRESS)
" glXGetProcAddress" " glXGetProcAddress"
@ -312,7 +313,7 @@ const char* _glfwPlatformGetVersionString(void)
#elif defined(_GLFW_DLOPEN_LIBGL) #elif defined(_GLFW_DLOPEN_LIBGL)
" dlsym(libGL)" " dlsym(libGL)"
#else #else
" (no OpenGL extension support)" " no-extension-support"
#endif #endif
#if defined(_GLFW_USE_LINUX_JOYSTICKS) #if defined(_GLFW_USE_LINUX_JOYSTICKS)
" Linux-joystick-API" " Linux-joystick-API"