Commit 6b9367cc authored by Martin Flöser's avatar Martin Flöser
Browse files

Fix unstyled effect frames

parent 3addda33
......@@ -1281,7 +1281,7 @@ void SceneOpenGL::EffectFrame::render( QRegion region, double opacity, double fr
m_unstyledTexture->bind();
const QPoint pt = m_effectFrame->geometry().topLeft();
if (sceneShader) {
shader->setUniform("geometry", QVector2D(pt.x(), pt.y()));
shader->setUniform("offset", QVector2D(pt.x(), pt.y()));
} else {
#ifndef KWIN_HAVE_OPENGLES
glTranslatef( pt.x(), pt.y(), 0.0f );
......
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