diff --git a/render/allocator/allocator.c b/render/allocator/allocator.c index 5108ad04..d7f09b42 100644 --- a/render/allocator/allocator.c +++ b/render/allocator/allocator.c @@ -26,6 +26,7 @@ void wlr_allocator_init(struct wlr_allocator *alloc, * https://gitlab.freedesktop.org/mesa/drm/-/merge_requests/110 */ static int reopen_drm_node(int drm_fd, bool allow_render_node) { +#if 0 if (drmIsMaster(drm_fd)) { // Only recent kernels support empty leases uint32_t lessee_id; @@ -39,6 +40,7 @@ static int reopen_drm_node(int drm_fd, bool allow_render_node) { wlr_log(WLR_DEBUG, "drmModeCreateLease failed, " "falling back to plain open"); } +#endif char *name = NULL; if (allow_render_node) {