summaryrefslogtreecommitdiff
path: root/shared
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2015-03-24 13:12:09 +0100
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2015-03-26 09:54:49 +0200
commitabff883d2c8aca3ea28e880e90e5806604588720 (patch)
tree25f2bf9b330f88934a70c582917f2bd51c3d6412 /shared
parent759fbf4d0fd1605c5b4b7d0a86b678ad20f3fa8b (diff)
platform: rename create_egl_window to create_egl_surface
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'shared')
-rw-r--r--shared/platform.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/shared/platform.h b/shared/platform.h
index be6d8e6e..c0991885 100644
--- a/shared/platform.h
+++ b/shared/platform.h
@@ -77,9 +77,9 @@ weston_platform_get_egl_display(EGLenum platform, void *native_display,
}
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 @@ weston_platform_get_egl_display(void *platform, void *native_display,
}
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;
}