From 2d40f7353043ea672ca2fcc8bb2ee033b152c05a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Fri, 31 Dec 2010 14:18:09 +0100 Subject: [PATCH] Fix unstyled effect frames --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index de6735e8d6..625232a9ef 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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 );