platform: rename create_egl_window to create_egl_surface
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/clients/subsurfaces.c b/clients/subsurfaces.c
index 130fe4c..663e1e1 100644
--- a/clients/subsurfaces.c
+++ b/clients/subsurfaces.c
@@ -422,9 +422,9 @@
tri->wl_surface = widget_get_wl_surface(tri->widget);
tri->egl_window = wl_egl_window_create(tri->wl_surface, width, height);
- tri->egl_surface = weston_platform_create_egl_window(tri->egl->dpy,
- tri->egl->conf,
- tri->egl_window, NULL);
+ tri->egl_surface = weston_platform_create_egl_surface(tri->egl->dpy,
+ tri->egl->conf,
+ tri->egl_window, NULL);
ret = eglMakeCurrent(tri->egl->dpy, tri->egl_surface,
tri->egl_surface, tri->egl->ctx);