Commit 207a16f1 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

backends/drm: Fix software cursor fallback in DrmOutput::renderCursorOpengl()

We need to return if the cursor sprite is bigger than DrmGpu::cursorSize().

BUG: 458036
parent df79d683
Pipeline #225804 passed with stage
in 18 minutes and 16 seconds
......@@ -188,6 +188,7 @@ void DrmOutput::updateCursor()
m_pipeline->setCursor();
}
m_setCursorSuccessful = false;
return;
}
const QSize surfaceSize = m_gpu->cursorSize() / scale();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment