kwin: Fix a typo in a setUniform() call

This commit is contained in:
Fredrik Höglund 2011-02-10 18:47:52 +01:00
parent bf5cf7440e
commit 6a72efea96

View file

@ -1237,7 +1237,7 @@ void SceneOpenGL::EffectFrame::render(QRegion region, double opacity, double fra
m_unstyledVBO->render(region, GL_TRIANGLES);
if (!sceneShader) {
if (shader) {
shader->setUniform("windowTranslation", QMatrix4x4());
shader->setUniform("windowTransformation", QMatrix4x4());
} else {
popMatrix();
}