Mesa (main): egl/wayland: Remove unused wayland enum

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Nov 26 20:00:50 UTC 2021


Module: Mesa
Branch: main
Commit: 42a0e5caa9f6456e254ad2402b93736909706b6e
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=42a0e5caa9f6456e254ad2402b93736909706b6e

Author: Scott Anderson <scott at anderso.nz>
Date:   Fri May 15 20:42:45 2020 +1200

egl/wayland: Remove unused wayland enum

Signed-off-by: Scott Anderson <scott at anderso.nz>
Reviewed-by: Daniel Stone <daniels at collabora.com>
Reviewed-by: Simon Ser <contact at emersion.fr>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11248>

---

 src/egl/drivers/dri2/egl_dri2.h | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index 02e218bcb8e..996606c4502 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -267,15 +267,6 @@ struct dri2_egl_context
    __DRIcontext *dri_context;
 };
 
-#ifdef HAVE_WAYLAND_PLATFORM
-enum wayland_buffer_type {
-   WL_BUFFER_FRONT,
-   WL_BUFFER_BACK,
-   WL_BUFFER_THIRD,
-   WL_BUFFER_COUNT
-};
-#endif
-
 struct dri2_egl_surface
 {
    _EGLSurface base;



More information about the mesa-commit mailing list