summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/egl/main/eglglobals.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c
index ac1a263ab52..8fffa550f56 100644
--- a/src/egl/main/eglglobals.c
+++ b/src/egl/main/eglglobals.c
@@ -53,11 +53,17 @@ struct _egl_global _eglGlobal =
/* ClientExtensionString */
"EGL_EXT_client_extensions"
" EGL_EXT_platform_base"
+#ifdef HAVE_WAYLAND_PLATFORM
" EGL_EXT_platform_wayland"
+#endif
+#ifdef HAVE_X11_PLATFORM
" EGL_EXT_platform_x11"
+#endif
+#ifdef HAVE_DRM_PLATFORM
+ " EGL_MESA_platform_gbm"
+#endif
" EGL_KHR_client_get_all_proc_addresses"
- " EGL_KHR_debug"
- " EGL_MESA_platform_gbm",
+ " EGL_KHR_debug",
NULL, /* debugCallback */
_EGL_DEBUG_BIT_CRITICAL | _EGL_DEBUG_BIT_ERROR, /* debugTypesEnabled */