From 6123937bde441284f3744771e60208b4f034668b Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 1 Sep 2015 17:12:22 +0200 Subject: [PATCH] Add missing version string entries --- src/win32_init.c | 3 +++ src/x11_init.c | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/src/win32_init.c b/src/win32_init.c index c39c67c1..60110a8c 100644 --- a/src/win32_init.c +++ b/src/win32_init.c @@ -380,6 +380,9 @@ const char* _glfwPlatformGetVersionString(void) #elif defined(_MSC_VER) " VisualC" #endif +#if defined(_GLFW_USE_HYBRID_HPG) || defined(_GLFW_USE_OPTIMUS_HPG) + " hybrid-GPU" +#endif #if defined(_GLFW_BUILD_DLL) " DLL" #endif diff --git a/src/x11_init.c b/src/x11_init.c index 90101ef4..c62a142f 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -814,6 +814,12 @@ const char* _glfwPlatformGetVersionString(void) #if defined(__linux__) " /dev/js" #endif +#if defined(_GLFW_HAS_XINPUT) + " XI" +#endif +#if defined(_GLFW_HAS_XF86VM) + " Xf86vm" +#endif #if defined(_GLFW_BUILD_DLL) " shared" #endif