egl: Updated EGL samples to use new i915 EGL winsys
[mesa.git] / progs / egl / eglgears.c
index 9feee20d889befc0cfa4135f419a42bd0a6ec2a8..909f4837b2af1ecb51f7ac9303324aae450e13c7 100644 (file)
@@ -385,7 +385,7 @@ main(int argc, char *argv[])
        }
        
        /* DBR : Create EGL context/surface etc */
-        d = eglGetDisplay(":0");
+        d = eglGetDisplay("!EGL_i915");
        assert(d);
 
        if (!eglInitialize(d, &maj, &min)) {