egl: eglinfo load i915 driver
authorJakob Bornecrantz <wallbraker@gmail.com>
Mon, 19 Jan 2009 01:29:54 +0000 (02:29 +0100)
committerJakob Bornecrantz <wallbraker@gmail.com>
Mon, 19 Jan 2009 01:29:54 +0000 (02:29 +0100)
progs/egl/eglinfo.c

index 4486916e9581e873662a71ffa0ecc61e7652d880..feae954b75afc0b3d977c8a73a94d36eb9306778 100644 (file)
@@ -147,7 +147,8 @@ int
 main(int argc, char *argv[])
 {
    int maj, min;
-   EGLDisplay d = eglGetDisplay(EGL_DEFAULT_DISPLAY);
+   //EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
+   EGLDisplay d = eglGetDisplay((EGLNativeDisplayType)"!EGL_i915");
 
    if (!eglInitialize(d, &maj, &min)) {
       printf("eglinfo: eglInitialize failed\n");