platforms/drm: fix direct scanout check
This commit is contained in:
parent
566bfbff5b
commit
49afd18018
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue