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:
@@ -67,9 +67,11 @@ struct _egl_global _eglGlobal =
|
|||||||
.ClientExtensionString =
|
.ClientExtensionString =
|
||||||
#endif
|
#endif
|
||||||
"EGL_EXT_client_extensions"
|
"EGL_EXT_client_extensions"
|
||||||
|
#ifndef DETECT_OS_WINDOWS
|
||||||
" EGL_EXT_device_base"
|
" EGL_EXT_device_base"
|
||||||
" EGL_EXT_device_enumeration"
|
" EGL_EXT_device_enumeration"
|
||||||
" EGL_EXT_device_query"
|
" EGL_EXT_device_query"
|
||||||
|
#endif
|
||||||
" EGL_EXT_platform_base"
|
" EGL_EXT_platform_base"
|
||||||
" EGL_KHR_client_get_all_proc_addresses"
|
" EGL_KHR_client_get_all_proc_addresses"
|
||||||
" EGL_KHR_debug"
|
" EGL_KHR_debug"
|
||||||
@@ -81,7 +83,9 @@ struct _egl_global _eglGlobal =
|
|||||||
" "
|
" "
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef DETECT_OS_WINDOWS
|
||||||
"EGL_EXT_platform_device"
|
"EGL_EXT_platform_device"
|
||||||
|
#endif
|
||||||
#ifdef HAVE_WAYLAND_PLATFORM
|
#ifdef HAVE_WAYLAND_PLATFORM
|
||||||
" EGL_EXT_platform_wayland"
|
" EGL_EXT_platform_wayland"
|
||||||
" EGL_KHR_platform_wayland"
|
" EGL_KHR_platform_wayland"
|
||||||
|
Reference in New Issue
Block a user