Skip to content
Commit 7c7de71f authored by Robert Bragg's avatar Robert Bragg
Browse files

egl: forward declare wl_resource for compatibility

Depending on what version of Mesa you have then eglQueryWaylandBuffer
may take a wl_buffer or wl_resource argument and the EGL header will
only forward declare the corresponding type.

The use of wl_buffer has been deprecated and so internally we assume
that eglQueryWaylandBuffer takes a wl_resource but for compatibility we
forward declare wl_resource in case we are building with EGL headers
that still use wl_buffer.

https://bugzilla.gnome.org/show_bug.cgi?id=710926



Reviewed-by: default avatarNeil Roberts <neil@linux.intel.com>
(cherry picked from commit 9bd1ee54)
parent b331ea7e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment