From: Chia-I Wu Date: Fri, 14 Jan 2011 06:29:04 +0000 (+0800) Subject: egl: Fix EGL_VERSION string. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e7d8f925704ddd635748fe72a42eaeec95eb89ee;p=mesa.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 a595e3f4d91..f8ba5f33eb9 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: