diff options
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r-- | backend/drm/backend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 4abcc817..6f5b0596 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -26,7 +26,7 @@ static void wlr_drm_backend_destroy(struct wlr_backend_state *state) { } for (size_t i = 0; state->outputs && i < state->outputs->length; ++i) { struct wlr_output_state *output = state->outputs->items[i]; - wlr_output_destroy(output->wlr_output); + wlr_output_destroy(output->base); } wlr_udev_signal_remove(state->udev, &state->drm_invalidated); wlr_drm_renderer_free(&state->renderer); @@ -98,7 +98,7 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display, return NULL; } - state->backend = backend; + state->base = backend; state->session = session; state->udev = udev; state->outputs = list_create(); |