From a38baec1f89d423dea4be85a6233fed26d13732f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 1 Jul 2021 22:12:32 +0200 Subject: buffer: make enum wlr_buffer_cap public Custom backends and renderers need to implement wlr_backend_impl.get_buffer_caps and wlr_renderer_impl.get_render_buffer_caps. They can't if enum wlr_buffer_cap isn't made public. --- render/allocator.c | 1 - 1 file changed, 1 deletion(-) (limited to 'render/allocator.c') diff --git a/render/allocator.c b/render/allocator.c index aade40a9..5b7e27ff 100644 --- a/render/allocator.c +++ b/render/allocator.c @@ -8,7 +8,6 @@ #include "render/shm_allocator.h" #include "render/drm_dumb_allocator.h" #include "render/wlr_renderer.h" -#include "types/wlr_buffer.h" void wlr_allocator_init(struct wlr_allocator *alloc, const struct wlr_allocator_interface *impl, uint32_t buffer_caps) { -- cgit v1.2.3