aboutsummaryrefslogtreecommitdiff
path: root/render/allocator.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-07-01 22:12:32 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-07-01 16:40:19 -0400
commita38baec1f89d423dea4be85a6233fed26d13732f (patch)
tree97803d29bafb5205981d9d1a7e3075a245a1f87b /render/allocator.c
parent29be2d47e44bd1ac74b91f393f6b1e60f01ffa51 (diff)
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.
Diffstat (limited to 'render/allocator.c')
-rw-r--r--render/allocator.c1
1 files changed, 0 insertions, 1 deletions
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) {