summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
authorChia-I Wu <olv@lunarg.com>2011-01-14 14:29:04 +0800
committerChia-I Wu <olv@lunarg.com>2011-01-14 14:29:19 +0800
commite7d8f925704ddd635748fe72a42eaeec95eb89ee (patch)
treed9b3e3a7225710d77e1ff664331da68243d5e14f /src/egl/main
parent36a59b29ef07b78378dcb3934131d262d42612cb (diff)
downloadexternal_mesa3d-e7d8f925704ddd635748fe72a42eaeec95eb89ee.zip
external_mesa3d-e7d8f925704ddd635748fe72a42eaeec95eb89ee.tar.gz
external_mesa3d-e7d8f925704ddd635748fe72a42eaeec95eb89ee.tar.bz2
egl: Fix EGL_VERSION string.
Fix a copy-and-paste error in a4a38dcf61f141297a083ccac217200947d57b0d.
Diffstat (limited to 'src/egl/main')
-rw-r--r--src/egl/main/eglmisc.c2
1 files changed, 1 insertions, 1 deletions
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: