Commit 1738b44b authored by Xaver Hugl's avatar Xaver Hugl
Browse files

platforms/drm: fix direct scanout check


(cherry picked from commit 49afd180)
parent d87273d8
...@@ -719,7 +719,7 @@ QSharedPointer<GLTexture> EglGbmBackend::textureForOutput(AbstractOutput *output ...@@ -719,7 +719,7 @@ QSharedPointer<GLTexture> EglGbmBackend::textureForOutput(AbstractOutput *output
bool EglGbmBackend::directScanoutAllowed(AbstractOutput *output) const bool EglGbmBackend::directScanoutAllowed(AbstractOutput *output) const
{ {
return !m_backend->usesSoftwareCursor() && output->directScanoutInhibited(); return !m_backend->usesSoftwareCursor() && !output->directScanoutInhibited();
} }
bool EglGbmBackend::hasOutput(AbstractOutput *output) const bool EglGbmBackend::hasOutput(AbstractOutput *output) const
......
Markdown is supported
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