aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-23 14:29:58 +0100
committerSimon Ser <contact@emersion.fr>2022-11-24 21:50:28 +0000
commit99134c26b858707ba42851ffe832d53cf27be195 (patch)
tree473e2331fd9fb0b85077bbeeee538a387bd0a46b /include
parent8a56490229594dc86a12910e1711ab03ae14c6d1 (diff)
render: stop pulling <wlr/backend.h>
Let's just forward-declare struct wlr_backend instead. We need to fixup the Vulkan renderer: it needs makedev(), which got included by chance via <wlr/backend.h> → <wlr/backend/session.h> → <libudev.h>.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/render/wlr_renderer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/render/wlr_renderer.h b/include/wlr/render/wlr_renderer.h
index c5c6be55..0e08fe24 100644
--- a/include/wlr/render/wlr_renderer.h
+++ b/include/wlr/render/wlr_renderer.h
@@ -11,9 +11,9 @@
#include <stdint.h>
#include <wayland-server-core.h>
-#include <wlr/backend.h>
#include <wlr/render/wlr_texture.h>
+struct wlr_backend;
struct wlr_renderer_impl;
struct wlr_drm_format_set;
struct wlr_buffer;