aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c1
-rw-r--r--backend/drm/renderer.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 2c660b8e..7eacb2f0 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -27,7 +27,6 @@
#include "backend/drm/util.h"
#include "render/pixel_format.h"
#include "render/drm_format_set.h"
-#include "render/swapchain.h"
#include "render/wlr_renderer.h"
#include "util/env.h"
#include "config.h"
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index 4a9181e4..c24ff73d 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -7,6 +7,7 @@
#include <string.h>
#include <unistd.h>
#include <wayland-util.h>
+#include <wlr/render/swapchain.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_matrix.h>
#include <wlr/util/log.h>
@@ -15,7 +16,6 @@
#include "render/drm_format_set.h"
#include "render/allocator/allocator.h"
#include "render/pixel_format.h"
-#include "render/swapchain.h"
#include "render/wlr_renderer.h"
bool init_drm_renderer(struct wlr_drm_backend *drm,