summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airliedfreedesktop.org>2005-12-23 08:42:29 +0000
committerDave Airlie <airliedfreedesktop.org>2005-12-23 08:42:29 +0000
commit1b6a0818853e30fb3e1af7d00efdd7e5a109f7d5 (patch)
tree39acdae2a0915dc6d158353dcb80728067c049ef
parentbc8390fa6cb748061ab325b789b828436eac7c5d (diff)
update to new API
-rw-r--r--progs/egl/demo2.c2
-rw-r--r--progs/egl/demo3.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/egl/demo2.c b/progs/egl/demo2.c
index 7abe947b93..17bbca6158 100644
--- a/progs/egl/demo2.c
+++ b/progs/egl/demo2.c
@@ -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) {
diff --git a/progs/egl/demo3.c b/progs/egl/demo3.c
index 2693c37205..9edf7c952b 100644
--- a/progs/egl/demo3.c
+++ b/progs/egl/demo3.c
@@ -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) {