summaryrefslogtreecommitdiffstats
path: root/progs/egl/peglgears.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl/peglgears.c')
-rw-r--r--progs/egl/peglgears.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/peglgears.c b/progs/egl/peglgears.c
index bac16453c16..1ddb691677f 100644
--- a/progs/egl/peglgears.c
+++ b/progs/egl/peglgears.c
@@ -385,7 +385,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, &major, &minor)) {