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:
parent
b7e22864aa
commit
54b7227f15
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue