Fix broken cube rotation with GL2 backend

icc-effect-5.14.5
Martin Gräßlin 2011-04-27 15:13:26 +02:00
parent 77a7bedac8
commit 9586c0b8d4
1 changed files with 1 additions and 1 deletions

View File

@ -1443,7 +1443,7 @@ void CubeEffect::paintWindow(EffectWindow* w, int mask, QRegion region, WindowPa
if (reflectionPainting) {
shader->setUniform("screenTransformation", m_reflectionMatrix * m_rotationMatrix * origMatrix);
} else {
shader->setUniform("screenTransformation", origMatrix*m_rotationMatrix);
shader->setUniform("screenTransformation", m_rotationMatrix*origMatrix);
}
}
}