summaryrefslogtreecommitdiff
path: root/src/egl/main/egldriver.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-05-28 15:43:41 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-05-28 15:43:41 -0600
commitc56e15b093c367e7e17ebd2e153baab8cafd213a (patch)
treee71df4230edd8cf46d06821d6941009961d77ffa /src/egl/main/egldriver.h
parent8cd33faee61626de7320efb4e20d95e4cfb7a573 (diff)
egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize()
Diffstat (limited to 'src/egl/main/egldriver.h')
-rw-r--r--src/egl/main/egldriver.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h
index 67cfb02f46..9395a667ab 100644
--- a/src/egl/main/egldriver.h
+++ b/src/egl/main/egldriver.h
@@ -24,17 +24,18 @@ struct _egl_extensions
*/
struct _egl_driver
{
- EGLBoolean Initialized; /* set by driver after initialized */
+ EGLBoolean Initialized; /**< set by driver after initialized */
- void *LibHandle; /* dlopen handle */
+ void *LibHandle; /**< dlopen handle */
_EGLDisplay *Display;
- int ABIversion;
- int APImajor, APIminor; /* returned through eglInitialize */
+ int APImajor, APIminor; /**< as returned by eglInitialize() */
+ char Version[10]; /**< initialized from APImajor/minor */
+
const char *ClientAPIs;
- _EGLAPI API;
+ _EGLAPI API; /**< EGL API dispatch table */
_EGLExtensions Extensions;
};