/*
* Under libglvnd, the client extension string has to be split into two
- * strings, one for platform extensions, and one for everything else. So,
- * define separate strings for them. _eglGetClientExtensionString will
- * concatenate them together for a non-libglvnd build.
+ * 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;
- char *ClientExtensionString;
+#else
+ const char *ClientExtensionString;
+#endif
EGLDEBUGPROCKHR debugCallback;
unsigned int debugTypesEnabled;
return (1 << (type - EGL_DEBUG_MSG_CRITICAL_KHR));
}
-extern const char *
-_eglGetClientExtensionString(void);
-
/**
* Perform validity checks on a generic pointer.
*/