From 3461d1c2a59e764db352f5ce66e58edcfb8f9545 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Mon, 8 Apr 2019 20:51:05 +0200 Subject: [PATCH] Fix missing context APIs in version strings --- src/cocoa_init.m | 2 +- src/win32_init.c | 2 +- src/wl_init.c | 2 +- src/x11_init.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cocoa_init.m b/src/cocoa_init.m index ab46f565..f51dea19 100644 --- a/src/cocoa_init.m +++ b/src/cocoa_init.m @@ -585,7 +585,7 @@ void _glfwPlatformTerminate(void) const char* _glfwPlatformGetVersionString(void) { - return _GLFW_VERSION_NUMBER " Cocoa NSGL" + return _GLFW_VERSION_NUMBER " Cocoa NSGL EGL OSMesa" #if defined(_GLFW_BUILD_DLL) " dynamic" #endif diff --git a/src/win32_init.c b/src/win32_init.c index ff215f60..78592cce 100644 --- a/src/win32_init.c +++ b/src/win32_init.c @@ -612,7 +612,7 @@ void _glfwPlatformTerminate(void) const char* _glfwPlatformGetVersionString(void) { - return _GLFW_VERSION_NUMBER " Win32 WGL EGL" + return _GLFW_VERSION_NUMBER " Win32 WGL EGL OSMesa" #if defined(__MINGW32__) " MinGW" #elif defined(_MSC_VER) diff --git a/src/wl_init.c b/src/wl_init.c index 40993a04..8a6b918c 100644 --- a/src/wl_init.c +++ b/src/wl_init.c @@ -1306,7 +1306,7 @@ void _glfwPlatformTerminate(void) const char* _glfwPlatformGetVersionString(void) { - return _GLFW_VERSION_NUMBER " Wayland EGL" + return _GLFW_VERSION_NUMBER " Wayland EGL OSMesa" #if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK) " clock_gettime" #else diff --git a/src/x11_init.c b/src/x11_init.c index 6c951c04..6f05a1b1 100644 --- a/src/x11_init.c +++ b/src/x11_init.c @@ -1083,7 +1083,7 @@ void _glfwPlatformTerminate(void) const char* _glfwPlatformGetVersionString(void) { - return _GLFW_VERSION_NUMBER " X11 GLX EGL" + return _GLFW_VERSION_NUMBER " X11 GLX EGL OSMesa" #if defined(_POSIX_TIMERS) && defined(_POSIX_MONOTONIC_CLOCK) " clock_gettime" #else