summaryrefslogtreecommitdiff
path: root/progs/egl/peglgears.c
diff options
context:
space:
mode:
authorChia-I Wu <olvaffe@gmail.com>2009-09-30 11:13:16 +0800
committerBrian Paul <brianp@vmware.com>2009-09-30 08:15:30 -0600
commitfa8df0c40d44c2f1fe982a07619b1cbf1bfed271 (patch)
treeb78352c16a938db4a6ead4c124444f3c3819f7fa /progs/egl/peglgears.c
parentcb0de06301cd086a02ca709917819119dc1a8fd9 (diff)
progs/egl: Replace EGL_i915 by EGL_DEFAULT_DISPLAY.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
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 bac16453c1..1ddb691677 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)) {