diff --git a/libkwineffects/kwingltexture.cpp b/libkwineffects/kwingltexture.cpp index 398a1f2491..467fbbfb3d 100644 --- a/libkwineffects/kwingltexture.cpp +++ b/libkwineffects/kwingltexture.cpp @@ -628,6 +628,9 @@ bool GLTexture::isYInverted() const void GLTexture::setYInverted(bool inverted) { Q_D(GLTexture); + if (d->m_yInverted == inverted) + return; + d->m_yInverted = inverted; d->updateMatrix(); }