mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
Merge pull request #3069 from degasus/master
VideoSW: Don't raise a PanicAlert because of indices
This commit is contained in:
commit
3df83e5717
@ -60,12 +60,7 @@ void SWVertexLoader::SetFormat(u8 attributeIndex, u8 primitiveType)
|
|||||||
xfmem.MatrixIndexB.Tex6MtxIdx != g_main_cp_state.matrix_index_b.Tex6MtxIdx ||
|
xfmem.MatrixIndexB.Tex6MtxIdx != g_main_cp_state.matrix_index_b.Tex6MtxIdx ||
|
||||||
xfmem.MatrixIndexB.Tex7MtxIdx != g_main_cp_state.matrix_index_b.Tex7MtxIdx)
|
xfmem.MatrixIndexB.Tex7MtxIdx != g_main_cp_state.matrix_index_b.Tex7MtxIdx)
|
||||||
{
|
{
|
||||||
WARN_LOG(VIDEO, "Matrix indices don't match");
|
ERROR_LOG(VIDEO, "Matrix indices don't match");
|
||||||
|
|
||||||
// Just show the assert once
|
|
||||||
static bool showedAlert = false;
|
|
||||||
_assert_msg_(VIDEO, showedAlert, "Matrix indices don't match");
|
|
||||||
showedAlert = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
m_Vertex.posMtx = xfmem.MatrixIndexA.PosNormalMtxIdx;
|
m_Vertex.posMtx = xfmem.MatrixIndexA.PosNormalMtxIdx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user