From bda3b85b7987b7e87921c1764143e2620fd013b2 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Mon, 13 Sep 2010 18:08:59 +0200 Subject: [PATCH] Added warnings to X11 version string. --- src/x11/x11_init.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/x11/x11_init.c b/src/x11/x11_init.c index a238b105..4c35043e 100644 --- a/src/x11/x11_init.c +++ b/src/x11/x11_init.c @@ -258,6 +258,8 @@ const char* _glfwPlatformGetVersionString(void) " XRandR" #elif defined(_GLFW_HAS_XF86VIDMODE) " Xf86VidMode" +#else + " (no mode switching support)" #endif #if defined(_GLFW_HAS_GLXGETPROCADDRESS) " glXGetProcAddress" @@ -267,9 +269,13 @@ const char* _glfwPlatformGetVersionString(void) " glXGetProcAddressEXT" #elif defined(_GLFW_DLOPEN_LIBGL) " dlopen(libGL)" +#else + " (no OpenGL extension support)" #endif #if defined(_GLFW_USE_LINUX_JOYSTICKS) " Linux joystick API" +#else + " (no joystick support)" #endif ;