summaryrefslogtreecommitdiffstats
path: root/progs/egl
diff options
context:
space:
mode:
Diffstat (limited to 'progs/egl')
-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 7abe947b931..17bbca61587 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 2693c372054..9edf7c952b3 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) {