backend: fix return value of attempt_drm_backend

The multi backend was returned instead of the primary DRM backend.
master
Chris Chamberlain 3 years ago committed by Simon Ser
parent e3fefda023
commit f6d3efbf4b

@ -239,7 +239,7 @@ static struct wlr_backend *attempt_drm_backend(struct wl_display *display,
return NULL;
}
return backend;
return primary_drm;
}
#endif

Loading…
Cancel
Save