summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--progs/egl/eglinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/progs/egl/eglinfo.c b/progs/egl/eglinfo.c
index 4486916e95..feae954b75 100644
--- a/progs/egl/eglinfo.c
+++ b/progs/egl/eglinfo.c
@@ -147,7 +147,8 @@ int
main(int argc, char *argv[])
{
int maj, min;
- EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
+ //EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
+ EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
if (!eglInitialize(d, &maj, &min)) {
printf("eglinfo: eglInitialize failed\n");