Mesa (main): egl/wgl: On win32, there is no support for EGL_EXT_device and EGL_EXT_platform_device

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Thu May 26 00:30:01 UTC 2022


Module: Mesa
Branch: main
Commit: 54b7227f158010886be752fa9a52f1c30382eebf
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=54b7227f158010886be752fa9a52f1c30382eebf

Author: Yonggang Luo <luoyonggang at gmail.com>
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 <luoyonggang at gmail.com>
Reviewed-by: Jesse Natalie <jenatali at microsoft.com>
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"



More information about the mesa-commit mailing list