mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
Fix VertexLoader.cpp using the wrong size for texture matrix indices without a corresponding texture
This regressed in 0a906f553f
, I think (though I haven't confirmed it). Mario Tennis and Luigi's Mansion both use these for some reason (as far as I can tell, the data isn't actually used; it's just extra data included for no reason)
This commit is contained in:
parent
0bcd3c79bb
commit
e13094766d
@ -221,7 +221,7 @@ void VertexLoader::CompileVertexTranslator()
|
||||
WriteCall(VertexLoader_TextCoord::GetDummyFunction()); // important to get indices right!
|
||||
break;
|
||||
}
|
||||
else if (m_VtxDesc.low.TexMatIdx[i])
|
||||
else if (m_VtxDesc.low.TexMatIdx[j])
|
||||
{
|
||||
has_more = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user