diff --git a/GPU/GLES/DisplayListInterpreter.cpp b/GPU/GLES/DisplayListInterpreter.cpp index 0ce4ee95f8..12953cafd1 100644 --- a/GPU/GLES/DisplayListInterpreter.cpp +++ b/GPU/GLES/DisplayListInterpreter.cpp @@ -978,7 +978,7 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) { { int num = gstate.boneMatrixNumber & 0x7F; float newVal = getFloat24(data); - if (newVal != gstate.boneMatrix[num] && num < 96) { + if (num < 96 && newVal != gstate.boneMatrix[num]) { Flush(); gstate.boneMatrix[num] = newVal; shaderManager_->DirtyUniform(DIRTY_BONEMATRIX0 << (num / 12));