aboutsummaryrefslogtreecommitdiffstats
path: root/progs/egl/eglscreen.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/eglscreen.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/eglscreen.c')
-rw-r--r--progs/egl/eglscreen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/eglscreen.c b/progs/egl/eglscreen.c
index c0b5a210a4a..47b3ce3366f 100644
--- a/progs/egl/eglscreen.c
+++ b/progs/egl/eglscreen.c
@@ -55,7 +55,7 @@ main(int argc, char *argv[])
EGLint count, chosenMode;
EGLint width = 0, height = 0;
- d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
+ d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
assert(d);
if (!eglInitialize(d, &maj, &min)) {