[PATCH] weston-egl: Update weston-egl-ext.h: s/wl_buffer/wl_resource
Tomeu Vizoso
tomeu at tomeuvizoso.net
Tue Oct 1 03:27:19 PDT 2013
As struct wl_buffer has been deprecated since 1.2.
---
src/weston-egl-ext.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/weston-egl-ext.h b/src/weston-egl-ext.h
index bab87be..8ddf97f 100644
--- a/src/weston-egl-ext.h
+++ b/src/weston-egl-ext.h
@@ -42,15 +42,15 @@
#define EGL_TEXTURE_EXTERNAL_WL 0x31DA
struct wl_display;
-struct wl_buffer;
+struct wl_resource;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI EGLBoolean EGLAPIENTRY eglBindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display);
EGLAPI EGLBoolean EGLAPIENTRY eglUnbindWaylandDisplayWL(EGLDisplay dpy, struct wl_display *display);
-EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL(EGLDisplay dpy, struct wl_buffer *buffer, EGLint attribute, EGLint *value);
+EGLAPI EGLBoolean EGLAPIENTRY eglQueryWaylandBufferWL(EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value);
#endif
typedef EGLBoolean (EGLAPIENTRYP PFNEGLBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
typedef EGLBoolean (EGLAPIENTRYP PFNEGLUNBINDWAYLANDDISPLAYWL) (EGLDisplay dpy, struct wl_display *display);
-typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, struct wl_buffer *buffer, EGLint attribute, EGLint *value);
+typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, struct wl_resource *buffer, EGLint attribute, EGLint *value);
#endif
--
1.8.3.1
More information about the wayland-devel
mailing list