As i seen most of the GE commands which has gstate_c.textureChanged = true; define without if (diff) except this one , so i can it to align however looks like diff here has another meaning.