diff options
author | Chia-I Wu <[email protected]> | 2009-09-30 11:13:16 +0800 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-30 08:15:30 -0600 |
commit | fa8df0c40d44c2f1fe982a07619b1cbf1bfed271 (patch) | |
tree | b78352c16a938db4a6ead4c124444f3c3819f7fa /progs/egl/eglinfo.c | |
parent | cb0de06301cd086a02ca709917819119dc1a8fd9 (diff) |
progs/egl: Replace EGL_i915 by EGL_DEFAULT_DISPLAY.
Signed-off-by: Chia-I Wu <[email protected]>
Diffstat (limited to 'progs/egl/eglinfo.c')
-rw-r--r-- | progs/egl/eglinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/progs/egl/eglinfo.c b/progs/egl/eglinfo.c index feae954b75a..4486916e958 100644 --- a/progs/egl/eglinfo.c +++ b/progs/egl/eglinfo.c @@ -147,8 +147,7 @@ int main(int argc, char *argv[]) { int maj, min; - //EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915"); - EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915"); + EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY); if (!eglInitialize(d, &maj, &min)) { printf("eglinfo: eglInitialize failed\n"); |