diff --git a/src/backends/drm/shadowbuffer.cpp b/src/backends/drm/shadowbuffer.cpp index 3be288d3b1..e1c9fb0062 100644 --- a/src/backends/drm/shadowbuffer.cpp +++ b/src/backends/drm/shadowbuffer.cpp @@ -40,6 +40,7 @@ ShadowBuffer::ShadowBuffer(const QSize &size, const GbmFormat &format) { m_texture.reset(new GLTexture(internalFormat(format), size)); m_texture->setFilter(GL_NEAREST); + m_texture->setYInverted(true); m_renderTarget.reset(new GLRenderTarget(m_texture.data())); if (!m_renderTarget->valid()) {