buffer: Make wlr_buffer_is_opaque public

It's useful for compositors.
This commit is contained in:
Guido Günther 2025-01-25 23:38:17 +01:00
parent 1c2cb4c802
commit 1ee3ed4310
4 changed files with 4 additions and 4 deletions

View file

@ -57,7 +57,7 @@ bool dmabuf_buffer_drop(struct wlr_dmabuf_buffer *buffer);
* reverse is not true: false may be returned in cases where the buffer is fully
* opaque.
*/
bool buffer_is_opaque(struct wlr_buffer *buffer);
bool wlr_buffer_is_opaque(struct wlr_buffer *buffer);
/**
* Creates a struct wlr_client_buffer from a given struct wlr_buffer by creating