aboutsummaryrefslogtreecommitdiffstats
path: root/include/EGL
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-10-12 11:39:46 +0100
committerEmil Velikov <[email protected]>2017-10-13 12:56:12 +0100
commit66ebdfbd44cb62c58a7711fb72566f07d801809a (patch)
tree99eea9a9883110ce9ee4e8ecba49ca208ad9e717 /include/EGL
parenta14ecdab165101afcce6ce8b80003d57b7812c07 (diff)
eglmesaext: add forward declaration for struct wl_buffers
The user does not need to know the specifics of the struct, as only a pointer to it is used. Just forward declare the struct making the header self-contained. v2: Remove deprecation warning text/bugzilla - patch does no help there. Cc: Greg V <[email protected]> Fixes: 5cddb1ce3c9 ("wayland: Add an extension to create wl_buffers from EGLImages") Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> (v1)
Diffstat (limited to 'include/EGL')
-rw-r--r--include/EGL/eglmesaext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/EGL/eglmesaext.h b/include/EGL/eglmesaext.h
index cff1bc6eee3..5bf6306a38e 100644
--- a/include/EGL/eglmesaext.h
+++ b/include/EGL/eglmesaext.h
@@ -70,6 +70,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYWAYLANDBUFFERWL) (EGLDisplay dpy, st
#ifndef EGL_WL_create_wayland_buffer_from_image
#define EGL_WL_create_wayland_buffer_from_image 1
+struct wl_buffer;
#ifdef EGL_EGLEXT_PROTOTYPES
EGLAPI struct wl_buffer * EGLAPIENTRY eglCreateWaylandBufferFromImageWL(EGLDisplay dpy, EGLImageKHR image);
#endif