compositor-drm: Release the correct buffer in drm_output_release_fb
This commit is contained in:
committed by
Kristian Høgsberg
parent
42133d47d3
commit
3ec57f5d69
@@ -412,7 +412,7 @@ drm_output_release_fb(struct drm_output *output, struct drm_fb *fb)
|
|||||||
gbm_bo_destroy(fb->bo);
|
gbm_bo_destroy(fb->bo);
|
||||||
else
|
else
|
||||||
gbm_surface_release_buffer(output->surface,
|
gbm_surface_release_buffer(output->surface,
|
||||||
output->current->bo);
|
fb->bo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user