mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-12-22 16:09:47 +01:00
gbm: emit deestroy before destroying bo
This commit is contained in:
parent
0ce4b193cf
commit
157f067cf8
1 changed files with 1 additions and 0 deletions
|
@ -154,6 +154,7 @@ Aquamarine::CGBMBuffer::CGBMBuffer(const SAllocatorBufferParams& params, Hypruti
|
|||
}
|
||||
|
||||
Aquamarine::CGBMBuffer::~CGBMBuffer() {
|
||||
events.destroy.emit();
|
||||
if (bo)
|
||||
gbm_bo_destroy(bo);
|
||||
for (size_t i = 0; i < (size_t)attrs.planes; i++)
|
||||
|
|
Loading…
Reference in a new issue