diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2013-10-11 16:04:55 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2013-11-26 12:50:29 -0800 |
commit | 3c58d4c700bc1d0a0d56c26645e900201b7f249e (patch) | |
tree | a52cc2fda7db2f83c59f23f2f304cf9cae23d807 /src/egl/main/eglglobals.c | |
parent | ddc77c5092b6f782327a7014b320f31f5f4e8e93 (diff) |
egl: Enable EGL_EXT_client_extensions
Insert two fields into _egl_global to hold the client extensions and
statically initialize them:
ClientExtensions // a struct of bools
ClientExtensionString
Post-patch, Mesa supports exactly one client extension,
EGL_EXT_client_extensions.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/egl/main/eglglobals.c')
-rw-r--r-- | src/egl/main/eglglobals.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/egl/main/eglglobals.c b/src/egl/main/eglglobals.c index f53f078d71..5c2fddfbf9 100644 --- a/src/egl/main/eglglobals.c +++ b/src/egl/main/eglglobals.c @@ -47,6 +47,14 @@ struct _egl_global _eglGlobal = _eglUnloadDrivers, /* always called last */ _eglFiniDisplay }, + + /* ClientExtensions */ + { + true /* EGL_EXT_client_extensions */ + }, + + /* ClientExtensionsString */ + "EGL_EXT_client_extensions" }; |