summaryrefslogtreecommitdiff
path: root/progs/egl/eglinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl/eglinfo.c')
-rw-r--r--progs/egl/eglinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/eglinfo.c b/progs/egl/eglinfo.c
index f9c2475445..85de2173fc 100644
--- a/progs/egl/eglinfo.c
+++ b/progs/egl/eglinfo.c
@@ -140,7 +140,7 @@ main(int argc, char *argv[])
{
int maj, min;
/*EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);*/
- EGLDisplay d = eglGetDisplay(":0");
+ EGLDisplay d = eglGetDisplay("!EGL_i915");
if (!eglInitialize(d, &maj, &min)) {
printf("eglinfo: eglInitialize failed\n");