platforms/drm: fix direct scanout check

This commit is contained in:
Xaver Hugl 2021-10-22 15:49:30 +02:00
parent 566bfbff5b
commit 49afd18018

View file

@ -719,7 +719,7 @@ QSharedPointer<GLTexture> EglGbmBackend::textureForOutput(AbstractOutput *output
bool EglGbmBackend::directScanoutAllowed(AbstractOutput *output) const
{
return !m_backend->usesSoftwareCursor() && output->directScanoutInhibited();
return !m_backend->usesSoftwareCursor() && !output->directScanoutInhibited();
}
bool EglGbmBackend::hasOutput(AbstractOutput *output) const