---
 src/wayland-egl.h | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/src/wayland-egl.h b/src/wayland-egl.h
index 8255151..49bd9f7 100644
--- a/src/wayland-egl.h
+++ b/src/wayland-egl.h
@@ -30,7 +30,7 @@ extern "C" {
 
 #include <wayland-client.h>
 
-#define WL_EGL_PLATFORM 1
+#define WL_EGL_PLATFORM 2
 
 struct wl_egl_window;
 
@@ -50,6 +50,12 @@ void
 wl_egl_window_get_attached_size(struct wl_egl_window *egl_window,
                                int *width, int *height);
 
+struct wl_buffer *
+wl_egl_window_take_buffer(struct wl_egl_window *egl_window);
+
+int
+wl_egl_window_commit(struct wl_egl_window *egl_window);
+
 #ifdef  __cplusplus
 }
 #endif
-- 
1.8.1.4

_______________________________________________
wayland-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to