mirror of
https://github.com/hyprwm/aquamarine.git
synced 2024-11-17 03:46:00 +01:00
drm: reset boHandles after freed in fb
This commit is contained in:
parent
3c118519e6
commit
05995dd21e
1 changed files with 2 additions and 0 deletions
|
@ -1569,6 +1569,8 @@ void Aquamarine::CDRMFB::closeHandles() {
|
|||
if (drmCloseBufferHandle(backend->gpu->fd, boHandles.at(i)))
|
||||
backend->backend->log(AQ_LOG_ERROR, "drm: drmCloseBufferHandle failed");
|
||||
}
|
||||
|
||||
boHandles = {0, 0, 0, 0};
|
||||
}
|
||||
|
||||
void Aquamarine::CDRMFB::drop() {
|
||||
|
|
Loading…
Reference in a new issue