egl/wgl: On win32, there is no support for EGL_EXT_device and EGL_EXT_platform_device

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16537>
This commit is contained in:
Yonggang Luo 2022-04-10 20:36:21 +08:00 committed by Marge Bot
parent b7e22864aa
commit 54b7227f15
1 changed files with 4 additions and 0 deletions

View File

@ -67,9 +67,11 @@ struct _egl_global _eglGlobal =
.ClientExtensionString =
#endif
"EGL_EXT_client_extensions"
#ifndef DETECT_OS_WINDOWS
" EGL_EXT_device_base"
" EGL_EXT_device_enumeration"
" EGL_EXT_device_query"
#endif
" EGL_EXT_platform_base"
" EGL_KHR_client_get_all_proc_addresses"
" EGL_KHR_debug"
@ -81,7 +83,9 @@ struct _egl_global _eglGlobal =
" "
#endif
#ifndef DETECT_OS_WINDOWS
"EGL_EXT_platform_device"
#endif
#ifdef HAVE_WAYLAND_PLATFORM
" EGL_EXT_platform_wayland"
" EGL_KHR_platform_wayland"