platform: rename create_egl_window to create_egl_surface
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/tests/buffer-count-test.c b/tests/buffer-count-test.c
index 23cbc6e..31d78c2 100644
--- a/tests/buffer-count-test.c
+++ b/tests/buffer-count-test.c
@@ -95,9 +95,9 @@
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);