Change texture even on clearmode

This commit is contained in:
BeaR 2013-04-09 09:50:57 +02:00
parent 218c891eef
commit 3cc7d99143

View file

@ -95,7 +95,7 @@ void TransformDrawEngine::ApplyDrawState(int prim) {
// TODO: All this setup is soon so expensive that we'll need dirty flags, or simply do it in the command writes where we detect dirty by xoring. Silly to do all this work on every drawcall.
if (gstate_c.textureChanged) {
if ((gstate.textureMapEnable & 1) && !gstate.isModeClear()) {
if (gstate.textureMapEnable & 1) {
textureCache_->SetTexture();
}
gstate_c.textureChanged = false;