summaryrefslogtreecommitdiff
path: root/tests/buffer-count-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/buffer-count-test.c')
-rw-r--r--tests/buffer-count-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/buffer-count-test.c b/tests/buffer-count-test.c
index 23cbc6ec..31d78c23 100644
--- a/tests/buffer-count-test.c
+++ b/tests/buffer-count-test.c
@@ -95,9 +95,9 @@ init_egl(struct test_data *test_data)
surface->width,
surface->height);
test_data->egl_surface =
- weston_platform_create_egl_window(test_data->egl_dpy,
- test_data->egl_conf,
- native_window, NULL);
+ weston_platform_create_egl_surface(test_data->egl_dpy,
+ test_data->egl_conf,
+ native_window, NULL);
ret = eglMakeCurrent(test_data->egl_dpy, test_data->egl_surface,
test_data->egl_surface, test_data->egl_ctx);