diff --git a/include/wayland-eglsurface.h b/include/wayland-eglsurface.h index f12dd68..ae71277 100644 --- a/include/wayland-eglsurface.h +++ b/include/wayland-eglsurface.h @@ -40,11 +40,11 @@ WL_EXPORT EGLStreamKHR wlEglGetSurfaceStreamExport(WlEglSurface *surface); WL_EXPORT -WlEglSurface *wlEglCreateSurfaceExport(EGLDisplay dpy, - int width, - int height, - struct wl_surface *native_surface, - int fifo_length); +WlEglSurface *wlEglInitializeSurfaceExport(EGLDisplay dpy, + int width, + int height, + struct wl_surface *native_surface, + int fifo_length); #ifdef __cplusplus } diff --git a/src/wayland-eglsurface.c b/src/wayland-eglsurface.c index 6e2907f..e525dd5 100644 --- a/src/wayland-eglsurface.c +++ b/src/wayland-eglsurface.c @@ -1538,11 +1538,11 @@ EGLStreamKHR wlEglGetSurfaceStreamExport(WlEglSurface *surface) } WL_EXPORT -WlEglSurface *wlEglCreateSurfaceExport(EGLDisplay dpy, - int width, - int height, - struct wl_surface *native_surface, - int fifo_length) +WlEglSurface *wlEglInitializeSurfaceExport(EGLDisplay dpy, + int width, + int height, + struct wl_surface *native_surface, + int fifo_length) { WlEglDisplay *display = (WlEglDisplay *)wlEglAcquireDisplay(dpy); WlEglSurface *surface = NULL;