mirror of
https://github.com/glfw/glfw.git
synced 2024-11-30 05:47:10 +00:00
Added new options to version string.
This commit is contained in:
parent
546124f1fb
commit
5417130f96
@ -690,6 +690,11 @@ int _glfwPlatformTerminate(void)
|
||||
const char* _glfwPlatformGetVersionString(void)
|
||||
{
|
||||
const char* version = _GLFW_VERSION_FULL
|
||||
#if defined(_GLFW_X11_GLX)
|
||||
" GLX"
|
||||
#elif defined(_GLFW_X11_EGL)
|
||||
" EGL"
|
||||
#endif
|
||||
#if defined(_GLFW_HAS_XRANDR)
|
||||
" XRandR"
|
||||
#endif
|
||||
@ -708,8 +713,12 @@ const char* _glfwPlatformGetVersionString(void)
|
||||
" glXGetProcAddressARB"
|
||||
#elif defined(_GLFW_HAS_GLXGETPROCADDRESSEXT)
|
||||
" glXGetProcAddressEXT"
|
||||
#elif defined(_GLFW_HAS_EGLGETPROCADDRESS)
|
||||
" eglGetProcAddress"
|
||||
#elif defined(_GLFW_DLOPEN_LIBGL)
|
||||
" dlsym(libGL)"
|
||||
#elif defined(_GLFW_DLOPEN_LIBEGL)
|
||||
" dlsym(libEGL)"
|
||||
#else
|
||||
" no-extension-support"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user