update to new API
authorDave Airlie <airliedfreedesktop.org>
Fri, 23 Dec 2005 08:42:29 +0000 (08:42 +0000)
committerDave Airlie <airliedfreedesktop.org>
Fri, 23 Dec 2005 08:42:29 +0000 (08:42 +0000)
progs/egl/demo2.c
progs/egl/demo3.c

index 7abe947b9314024b97a300c4e3d34320cf4b0670..17bbca61587da64aaa875df2d6f591e4bd431863 100644 (file)
@@ -152,7 +152,7 @@ main(int argc, char *argv[])
       return 0;
    }
    
-   eglShowSurfaceMESA(d, screen, screen_surf, mode);
+   eglShowScreenSurfaceMESA(d, screen, screen_surf, mode);
 
    b = eglMakeCurrent(d, screen_surf, screen_surf, ctx);
    if (!b) {
index 2693c372054e48c08c6ce21a2b53b18fc8c54a52..9edf7c952b3cc5a49f8786ca7fd55665c2726c0e 100644 (file)
@@ -603,7 +603,7 @@ main(int argc, char *argv[])
       return 0;
    }
 
-   eglShowSurfaceMESA(d, screen, screen_surf, mode);
+   eglShowScreenSurfaceMESA(d, screen, screen_surf, mode);
 
    b = eglMakeCurrent(d, screen_surf, screen_surf, ctx);
    if (!b) {