Fix unstyled effect frames

This commit is contained in:
Martin Gräßlin 2010-12-31 14:18:09 +01:00
parent 990001c5d7
commit 2d40f73530

View file

@ -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 );