Merge pull request #598 from lioncash/master
Found another check that should be before the other one.
This commit is contained in:
commit
edb9cf5c71
1 changed files with 1 additions and 1 deletions
|
@ -978,7 +978,7 @@ void GLES_GPU::ExecuteOp(u32 op, u32 diff) {
|
||||||
{
|
{
|
||||||
int num = gstate.boneMatrixNumber & 0x7F;
|
int num = gstate.boneMatrixNumber & 0x7F;
|
||||||
float newVal = getFloat24(data);
|
float newVal = getFloat24(data);
|
||||||
if (newVal != gstate.boneMatrix[num] && num < 96) {
|
if (num < 96 && newVal != gstate.boneMatrix[num]) {
|
||||||
Flush();
|
Flush();
|
||||||
gstate.boneMatrix[num] = newVal;
|
gstate.boneMatrix[num] = newVal;
|
||||||
shaderManager_->DirtyUniform(DIRTY_BONEMATRIX0 << (num / 12));
|
shaderManager_->DirtyUniform(DIRTY_BONEMATRIX0 << (num / 12));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue