From: Chia-I Wu Date: Fri, 14 Jan 2011 06:29:04 +0000 (+0800) Subject: egl: Fix EGL_VERSION string. X-Git-Tag: mesa-7.11-rc1~2742 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e7d8f925704ddd635748fe72a42eaeec95eb89ee;p=platform%2Fupstream%2Fmesa.git egl: Fix EGL_VERSION string. Fix a copy-and-paste error in a4a38dcf61f141297a083ccac217200947d57b0d. --- diff --git a/src/egl/main/eglmisc.c b/src/egl/main/eglmisc.c index a595e3f..f8ba5f3 100644 --- a/src/egl/main/eglmisc.c +++ b/src/egl/main/eglmisc.c @@ -147,7 +147,7 @@ _eglQueryString(_EGLDriver *drv, _EGLDisplay *dpy, EGLint name) return _EGL_VENDOR_STRING; case EGL_VERSION: _eglsnprintf(dpy->VersionString, sizeof(dpy->VersionString), - "%d.%d (%s)", dpy->VersionMajor, dpy->VersionMajor, + "%d.%d (%s)", dpy->VersionMajor, dpy->VersionMinor, dpy->Driver->Name); return dpy->VersionString; case EGL_EXTENSIONS: