backends/drm: Fix software cursor fallback in DrmOutput::renderCursorOpengl()
We need to return if the cursor sprite is bigger than DrmGpu::cursorSize(). BUG: 458036
This commit is contained in:
parent
df79d68309
commit
207a16f14f
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ void DrmOutput::updateCursor()
|
|||
m_pipeline->setCursor();
|
||||
}
|
||||
m_setCursorSuccessful = false;
|
||||
return;
|
||||
}
|
||||
|
||||
const QSize surfaceSize = m_gpu->cursorSize() / scale();
|
||||
|
|
Loading…
Reference in a new issue