summaryrefslogtreecommitdiffstats
path: root/src/egl/main/eglapi.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-10-18 20:22:58 +0200
committerMarek Olšák <[email protected]>2017-10-18 20:23:24 +0200
commit2cb9ab53dd3ae6850a2611b01695f7449d24614d (patch)
treedcb21415d557f1a6985fe6bcc418daa84dea1cef /src/egl/main/eglapi.c
parentf37af5ec8d351fe20e74b05059bea12236220e02 (diff)
Revert "egl: drop EGL driver `name`"
This reverts commit 6414d6bd8d2897f4ba643357fe3037f3acd60879. This is needed to apply the next revert.
Diffstat (limited to 'src/egl/main/eglapi.c')
-rw-r--r--src/egl/main/eglapi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c
index 36d69688146..38fc9311cb8 100644
--- a/src/egl/main/eglapi.c
+++ b/src/egl/main/eglapi.c
@@ -615,7 +615,8 @@ eglInitialize(EGLDisplay dpy, EGLint *major, EGLint *minor)
_eglCreateExtensionsString(disp);
_eglCreateAPIsString(disp);
snprintf(disp->VersionString, sizeof(disp->VersionString),
- "%d.%d", disp->Version / 10, disp->Version % 10);
+ "%d.%d (%s)", disp->Version / 10, disp->Version % 10,
+ disp->Driver->Name);
}
/* Update applications version of major and minor if not NULL */