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.c | |
parent | 8cd33faee61626de7320efb4e20d95e4cfb7a573 (diff) |
egl: make sure EGL_VERSION_STRING query returns same version as eglInitialize()
Diffstat (limited to 'src/egl/main/egldriver.c')
-rw-r--r-- | src/egl/main/egldriver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/egl/main/egldriver.c b/src/egl/main/egldriver.c index 6d533625b7d..2257a686307 100644 --- a/src/egl/main/egldriver.c +++ b/src/egl/main/egldriver.c @@ -306,7 +306,7 @@ _eglQueryString(_EGLDriver *drv, EGLDisplay dpy, EGLint name) case EGL_VENDOR: return _EGL_VENDOR_STRING; case EGL_VERSION: - return _EGL_VERSION_STRING; + return drv->Version; case EGL_EXTENSIONS: _eglUpdateExtensionsString(drv); return drv->Extensions.String; |