diff options
author | Brian Paul <[email protected]> | 2008-05-28 15:43:41 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-05-28 15:43:41 -0600 |
commit | c56e15b093c367e7e17ebd2e153baab8cafd213a (patch) | |
tree | e71df4230edd8cf46d06821d6941009961d77ffa /src/egl/main/egldriver.h | |
parent | 8cd33faee61626de7320efb4e20d95e4cfb7a573 (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.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/egl/main/egldriver.h b/src/egl/main/egldriver.h index 67cfb02f46a..9395a667ab3 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; }; |