diff --git a/include/types/wlr_buffer.h b/include/types/wlr_buffer.h index 98d5d3aea..9d882d47d 100644 --- a/include/types/wlr_buffer.h +++ b/include/types/wlr_buffer.h @@ -50,15 +50,6 @@ struct wlr_dmabuf_buffer *dmabuf_buffer_create( */ bool dmabuf_buffer_drop(struct wlr_dmabuf_buffer *buffer); -/** - * Check whether a buffer is fully opaque. - * - * When true is returned, the buffer is guaranteed to be fully opaque, but the - * reverse is not true: false may be returned in cases where the buffer is fully - * opaque. - */ -bool wlr_buffer_is_opaque(struct wlr_buffer *buffer); - /** * Creates a struct wlr_client_buffer from a given struct wlr_buffer by creating * a texture from it, and copying its struct wl_resource. diff --git a/include/wlr/types/wlr_buffer.h b/include/wlr/types/wlr_buffer.h index fadc560a3..19a8b73b6 100644 --- a/include/wlr/types/wlr_buffer.h +++ b/include/wlr/types/wlr_buffer.h @@ -109,6 +109,15 @@ bool wlr_buffer_get_shm(struct wlr_buffer *buffer, */ struct wlr_buffer *wlr_buffer_try_from_resource(struct wl_resource *resource); +/** + * Check whether a buffer is fully opaque. + * + * When true is returned, the buffer is guaranteed to be fully opaque, but the + * reverse is not true: false may be returned in cases where the buffer is fully + * opaque. + */ +bool wlr_buffer_is_opaque(struct wlr_buffer *buffer); + /** * Buffer data pointer access flags. */