Fix broken cube rotation with GL2 backend
This commit is contained in:
parent
77a7bedac8
commit
9586c0b8d4
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue