Fix broken cube rotation with GL2 backend
parent
77a7bedac8
commit
9586c0b8d4
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue