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. --- backend/x11/backend.c | 1 - backend/x11/output.c | 1 - 2 files changed, 2 deletions(-) (limited to 'backend/x11') 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 #include "backend/x11.h" -#include "types/wlr_buffer.h" #include "util/signal.h" #include "util/time.h" -- cgit v1.2.3