Module: Mesa Branch: main Commit: 54b7227f158010886be752fa9a52f1c30382eebf URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=54b7227f158010886be752fa9a52f1c30382eebf
Author: Yonggang Luo <[email protected]> Date: Sun Apr 10 20:36:21 2022 +0800 egl/wgl: On win32, there is no support for EGL_EXT_device and EGL_EXT_platform_device Signed-off-by: Yonggang Luo <[email protected]> Reviewed-by: Jesse Natalie <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16537> --- src/egl/main/eglglobals.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c index a3f5484a2ff..ebf7c573509 100644 --- a/src/egl/main/eglglobals.c +++ b/src/egl/main/eglglobals.c @@ -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"
