summaryrefslogtreecommitdiffstats
path: root/progs/egl/eglgears.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl/eglgears.c')
-rw-r--r--progs/egl/eglgears.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/eglgears.c b/progs/egl/eglgears.c
index 31346d95230..0eee9ecf4da 100644
--- a/progs/egl/eglgears.c
+++ b/progs/egl/eglgears.c
@@ -388,7 +388,7 @@ main(int argc, char *argv[])
}
/* DBR : Create EGL context/surface etc */
- d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
+ d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
assert(d);
if (!eglInitialize(d, &maj, &min)) {