aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/drm.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r--backend/drm/drm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index cba41023..40a6f37b 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -21,12 +21,10 @@
#include <wlr/render/gles2.h>
#include <wlr/render.h>
#include "backend/drm/drm.h"
+#include "backend/drm/iface.h"
#include "backend/drm/util.h"
bool wlr_drm_check_features(struct wlr_drm_backend *backend) {
- extern const struct wlr_drm_interface iface_legacy;
- extern const struct wlr_drm_interface iface_atomic;
-
if (drmSetClientCap(backend->fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1)) {
wlr_log(L_ERROR, "DRM universal planes unsupported");
return false;