Added warnings to X11 version string.

This commit is contained in:
Camilla Berglund 2010-09-13 18:08:59 +02:00
parent 2bfa89ec17
commit bda3b85b79

View File

@ -258,6 +258,8 @@ const char* _glfwPlatformGetVersionString(void)
" XRandR" " XRandR"
#elif defined(_GLFW_HAS_XF86VIDMODE) #elif defined(_GLFW_HAS_XF86VIDMODE)
" Xf86VidMode" " Xf86VidMode"
#else
" (no mode switching support)"
#endif #endif
#if defined(_GLFW_HAS_GLXGETPROCADDRESS) #if defined(_GLFW_HAS_GLXGETPROCADDRESS)
" glXGetProcAddress" " glXGetProcAddress"
@ -267,9 +269,13 @@ const char* _glfwPlatformGetVersionString(void)
" glXGetProcAddressEXT" " glXGetProcAddressEXT"
#elif defined(_GLFW_DLOPEN_LIBGL) #elif defined(_GLFW_DLOPEN_LIBGL)
" dlopen(libGL)" " dlopen(libGL)"
#else
" (no OpenGL extension support)"
#endif #endif
#if defined(_GLFW_USE_LINUX_JOYSTICKS) #if defined(_GLFW_USE_LINUX_JOYSTICKS)
" Linux joystick API" " Linux joystick API"
#else
" (no joystick support)"
#endif #endif
; ;