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.

(cherry picked from commit a38baec1f8)
This commit is contained in:
Simon Ser 2021-07-01 22:12:32 +02:00
parent 4b2ef3dff9
commit dc2e640a7d
14 changed files with 12 additions and 24 deletions

View file

@ -7,7 +7,6 @@
#include "render/pixel_format.h"
#include "render/shm_allocator.h"
#include "util/shm.h"
#include "types/wlr_buffer.h"
static const struct wlr_buffer_impl buffer_impl;