hrydgard/ppsspp — pull request #4502 by raven02 (2013-11-11 00:56:03+00:00)
Title: Regression fix c69ac64

Meanwhile , there are number of place use if (diff) as well not too sure if they may cause problem.

case GE_CMD_TEXTUREMAPENABLE:
if (diff)
gstate_c.textureChanged = true;
break;

case GE_CMD_TEXADDR7:
if (diff) {
gstate_c.textureChanged = true;
shaderManager_->DirtyUniform(DIRTY_UVSCALEOFFSET);
}
break;

case GE_CMD_CLUTADDR:
case GE_CMD_CLUTADDRUPPER:
case GE_CMD_CLUTFORMAT:
if (diff) {
gstate_c.textureChanged = true;
}
// This could be used to "dirty" textures with clut.
break;

case GE_CMD_TEXBUFWIDTH0:
case GE_CMD_TEXBUFWIDTH1:
case GE_CMD_TEXBUFWIDTH2:
case GE_CMD_TEXBUFWIDTH3:
case GE_CMD_TEXBUFWIDTH4:
case GE_CMD_TEXBUFWIDTH5:
case GE_CMD_TEXBUFWIDTH6:
case GE_CMD_TEXBUFWIDTH7:
if (diff) {
gstate_c.textureChanged = true;
}
break;