summaryrefslogtreecommitdiffstats
path: root/progs/egl/eglgears.c
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2009-09-30 11:13:16 +0800
committerBrian Paul <[email protected]>2009-09-30 08:15:30 -0600
commitfa8df0c40d44c2f1fe982a07619b1cbf1bfed271 (patch)
treeb78352c16a938db4a6ead4c124444f3c3819f7fa /progs/egl/eglgears.c
parentcb0de06301cd086a02ca709917819119dc1a8fd9 (diff)
progs/egl: Replace EGL_i915 by EGL_DEFAULT_DISPLAY.
Signed-off-by: Chia-I Wu <[email protected]>
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)) {