platform: rename create_egl_window to create_egl_surface
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/clients/window.c b/clients/window.c
index 62b5185..6703462 100644
--- a/clients/window.c
+++ b/clients/window.c
@@ -641,9 +641,9 @@
rectangle->height);
surface->egl_surface =
- weston_platform_create_egl_window(display->dpy,
- display->argb_config,
- surface->egl_window, NULL);
+ weston_platform_create_egl_surface(display->dpy,
+ display->argb_config,
+ surface->egl_window, NULL);
surface->cairo_surface =
cairo_gl_surface_create_for_egl(display->argb_device,