mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 15:48:05 +02:00
compositor-drm: Release the correct buffer in drm_output_release_fb
This commit is contained in:
parent
42133d47d3
commit
3ec57f5d69
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ drm_output_release_fb(struct drm_output *output, struct drm_fb *fb)
|
|||
gbm_bo_destroy(fb->bo);
|
||||
else
|
||||
gbm_surface_release_buffer(output->surface,
|
||||
output->current->bo);
|
||||
fb->bo);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue