platform: rename create_egl_window to create_egl_surface
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
diff --git a/shared/platform.h b/shared/platform.h
index be6d8e6..c099188 100644
--- a/shared/platform.h
+++ b/shared/platform.h
@@ -77,9 +77,9 @@
}
static inline EGLSurface
-weston_platform_create_egl_window(EGLDisplay dpy, EGLConfig config,
- void *native_window,
- const EGLint *attrib_list)
+weston_platform_create_egl_surface(EGLDisplay dpy, EGLConfig config,
+ void *native_window,
+ const EGLint *attrib_list)
{
static PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC
create_platform_window = NULL;
@@ -109,9 +109,9 @@
}
static inline void *
-weston_platform_create_egl_window(void *dpy, void *config,
- void *native_window,
- const int *attrib_list)
+weston_platform_create_egl_surface(void *dpy, void *config,
+ void *native_window,
+ const int *attrib_list)
{
return NULL;
}