From 3cc7d991433f8528fe22e67306a6d76549d86314 Mon Sep 17 00:00:00 2001 From: BeaR Date: Tue, 9 Apr 2013 09:50:57 +0200 Subject: [PATCH] Change texture even on clearmode --- GPU/GLES/StateMapping.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/GLES/StateMapping.cpp b/GPU/GLES/StateMapping.cpp index ced2dcfb5a..144bcb0e25 100644 --- a/GPU/GLES/StateMapping.cpp +++ b/GPU/GLES/StateMapping.cpp @@ -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;