drm: reset boHandles after freed in fb

This commit is contained in:
Vaxry 2024-07-08 23:04:12 +02:00
parent 3c118519e6
commit 05995dd21e

View file

@ -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() {