diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-20 19:04:20 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2023-02-21 17:14:31 +0100 |
commit | b33ab26fe7138f16dedd12ed360548e886408f30 (patch) | |
tree | b6b5d94b5ea9b8cc75aa9043bdd2b154ac30cbdb /render | |
parent | c667e64892a554b9f8610997e690a6d3adb739a2 (diff) |
render/swapchain: make public
We've had this struct for a while. It'd be useful for compositors
if they want to manage the swap chains themselves instead of being
forced to use wlr_output's. Some compositors might also want to use
a swapchain without an output.
Diffstat (limited to 'render')
-rw-r--r-- | render/swapchain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/swapchain.c b/render/swapchain.c index 8d3b55f0..943879bb 100644 --- a/render/swapchain.c +++ b/render/swapchain.c @@ -1,10 +1,10 @@ #include <assert.h> #include <stdlib.h> #include <wlr/util/log.h> +#include <wlr/render/swapchain.h> #include <wlr/types/wlr_buffer.h> #include "render/allocator/allocator.h" #include "render/drm_format_set.h" -#include "render/swapchain.h" static void swapchain_handle_allocator_destroy(struct wl_listener *listener, void *data) { |