Don't allow direct scanout when using software cursor

This commit is contained in:
Xaver Hugl 2021-02-02 22:15:50 +01:00
parent bda47c9043
commit e30b1a0f92

View file

@ -789,7 +789,7 @@ QSharedPointer<GLTexture> EglGbmBackend::textureForOutput(AbstractOutput *abstra
bool EglGbmBackend::directScanoutAllowed(int screen) const
{
return !m_outputs[screen].output->directScanoutInhibited();
return !m_backend->usesSoftwareCursor() && !m_outputs[screen].output->directScanoutInhibited();
}
/************************************************