summaryrefslogtreecommitdiffstats
path: root/src/egl/main
diff options
context:
space:
mode:
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: