aboutsummaryrefslogtreecommitdiff
path: root/backend/headless/output.c
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-11-24 10:36:39 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-11-25 15:12:32 +0000
commitf29abe4c777ba8293ab76334ef2ac83eaa0043f6 (patch)
tree7e1824da2f534191b5564fc5202d39debdf740b1 /backend/headless/output.c
parente4f748c6e9d618eb2ee8f15aa22aae8dcde4cc4a (diff)
backend/headless: stop picking a DRM FD
Sometimes the headless backend is used standalone with the Pixman renderer, sometimes it's used together with another backend which has already picked a DRM FD. In both of these cases it doesn't make sense to pick a DRM FD. Broadly speaking the headless backend doesn't really care which DRM device is used for the buffers it receives. So it doesn't really make sense to tie it to a particular DRM device. Let the backend users (e.g. wlr_renderer_autocreate) open an arbitrary DRM FD as needed instead.
Diffstat (limited to 'backend/headless/output.c')
-rw-r--r--backend/headless/output.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/headless/output.c b/backend/headless/output.c
index 43762b23..50d914e4 100644
--- a/backend/headless/output.c
+++ b/backend/headless/output.c
@@ -2,7 +2,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <wlr/interfaces/wlr_output.h>
-#include <wlr/render/wlr_renderer.h>
#include <wlr/util/log.h>
#include "backend/headless.h"
#include "util/signal.h"