aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
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 /backend/x11
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 'backend/x11')
-rw-r--r--backend/x11/backend.c1
-rw-r--r--backend/x11/output.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 6c0e5a0b..478583f0 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -33,7 +33,6 @@
#include "backend/x11.h"
#include "render/allocator.h"
#include "render/drm_format_set.h"
-#include "types/wlr_buffer.h"
#include "util/signal.h"
// See dri2_format_for_depth in mesa
diff --git a/backend/x11/output.c b/backend/x11/output.c
index 15d1d9a0..44219dde 100644
--- a/backend/x11/output.c
+++ b/backend/x11/output.c
@@ -21,7 +21,6 @@
#include <wlr/util/log.h>
#include "backend/x11.h"
-#include "types/wlr_buffer.h"
#include "util/signal.h"
#include "util/time.h"