diff --git a/src/framework/graphics/painterogl1.cpp b/src/framework/graphics/painterogl1.cpp index ccfcf0a1..2e6d7882 100644 --- a/src/framework/graphics/painterogl1.cpp +++ b/src/framework/graphics/painterogl1.cpp @@ -192,6 +192,9 @@ void PainterOGL1::setProjectionMatrix(const Matrix3& projectionMatrix) void PainterOGL1::setTextureMatrix(const Matrix2& textureMatrix) { + // avoid re-updating texture matrix + if(m_textureMatrix == textureMatrix) + return; m_textureMatrix = textureMatrix; updateGlTextureMatrix(); }