backends/drm: Also release cursor layer buffers
This commit is contained in:
parent
d0d642ba68
commit
6451cb2cfe
1 changed files with 1 additions and 0 deletions
|
@ -791,6 +791,7 @@ void DrmGpu::releaseBuffers()
|
||||||
}
|
}
|
||||||
for (const auto &pipeline : qAsConst(m_pipelines)) {
|
for (const auto &pipeline : qAsConst(m_pipelines)) {
|
||||||
pipeline->primaryLayer()->releaseBuffers();
|
pipeline->primaryLayer()->releaseBuffers();
|
||||||
|
pipeline->cursorLayer()->releaseBuffers();
|
||||||
}
|
}
|
||||||
for (const auto &output : qAsConst(m_outputs)) {
|
for (const auto &output : qAsConst(m_outputs)) {
|
||||||
if (const auto virtualOutput = qobject_cast<DrmVirtualOutput *>(output)) {
|
if (const auto virtualOutput = qobject_cast<DrmVirtualOutput *>(output)) {
|
||||||
|
|
Loading…
Reference in a new issue