Commit e459c8bf authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

No need to recalculate the matrix if yInverted doesn't change

parent 2af16f1e
......@@ -628,6 +628,9 @@ bool GLTexture::isYInverted() const
void GLTexture::setYInverted(bool inverted)
if (d->m_yInverted == inverted)
d->m_yInverted = inverted;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment