Commit badf4929 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

drm: Properly specify the yInversion of the shadow buffer

Otherwise when we render it, we do so upside down and screen sharing
looks broken.
This only happens when the shadow buffer is in use, so it's not all that
parent eb933bfe
Pipeline #147254 passed with stage
in 12 minutes and 44 seconds
......@@ -40,6 +40,7 @@ ShadowBuffer::ShadowBuffer(const QSize &size, const GbmFormat &format)
m_texture.reset(new GLTexture(internalFormat(format), size));
m_renderTarget.reset(new GLRenderTarget(;
if (!m_renderTarget->valid()) {
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