diff options
Diffstat (limited to 'backend/drm/drm.c')
-rw-r--r-- | backend/drm/drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 618274a6..bba3a390 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -631,7 +631,7 @@ static void page_flip_handler(int fd, unsigned seq, struct wlr_backend_state *state = wl_container_of(output->renderer, state, renderer); - if (output->bo[1]) { + if (output->gbm && output->bo[1]) { gbm_surface_release_buffer(output->gbm, output->bo[1]); output->bo[1] = NULL; } |