Module: Mesa Branch: master Commit: 860deb4191cd8eb78443e9fcbc679714dfe9e10e URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=860deb4191cd8eb78443e9fcbc679714dfe9e10e
Author: Emil Velikov <[email protected]> Date: Thu Sep 28 18:09:48 2017 +0100 wayland-egl: forward declare struct wl_surface It makes the header self-contained and with later commit we'll remove the unnecessary wayland-client.h include. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Daniel Stone <[email protected]> Reviewed-by: Miguel A. Vico <[email protected]> --- src/egl/wayland/wayland-egl/wayland-egl-backend.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/egl/wayland/wayland-egl/wayland-egl-backend.h b/src/egl/wayland/wayland-egl/wayland-egl-backend.h index 3b59908cc1..a2c8656580 100644 --- a/src/egl/wayland/wayland-egl/wayland-egl-backend.h +++ b/src/egl/wayland/wayland-egl/wayland-egl-backend.h @@ -43,6 +43,8 @@ extern "C" { #define WL_EGL_WINDOW_VERSION 3 +struct wl_surface; + struct wl_egl_window { const intptr_t version; _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
