From 9586c0b8d462cb045c47323c5a1005c9c047912a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 27 Apr 2011 15:13:26 +0200 Subject: [PATCH] Fix broken cube rotation with GL2 backend --- effects/cube/cube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/cube/cube.cpp b/effects/cube/cube.cpp index 88e02c1165..2413e5310e 100644 --- a/effects/cube/cube.cpp +++ b/effects/cube/cube.cpp @@ -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); } } }