aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--progs/egl/eglgears.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/progs/egl/eglgears.c b/progs/egl/eglgears.c
index 0b37a9b1e7e..9feee20d889 100644
--- a/progs/egl/eglgears.c
+++ b/progs/egl/eglgears.c
@@ -440,7 +440,7 @@ main(int argc, char *argv[])
return 0;
}
- b = eglShowSurfaceMESA(d, screen, screen_surf, mode[chosenMode]);
+ b = eglShowScreenSurfaceMESA(d, screen, screen_surf, mode[chosenMode]);
if (!b) {
printf("eglgears: show surface failed\n");
return 0;