- struct _egl_client_extensions {
- bool EXT_client_extensions;
- bool EXT_platform_base;
- bool EXT_platform_x11;
- bool EXT_platform_wayland;
- bool MESA_platform_gbm;
- bool KHR_get_all_proc_addresses;
- } ClientExtensions;
-
+ /*
+ * Under libglvnd, the client extension string has to be split into two
+ * strings, one for platform extensions, and one for everything else.
+ * For a non-glvnd build create a concatenated one.
+ */
+#if USE_LIBGLVND
+ const char *ClientOnlyExtensionString;
+ const char *PlatformExtensionString;
+#else