summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/SWVertexLoader.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2015-09-20 13:13:47 +0200
committerdegasus <wickmarkus@web.de>2015-09-20 13:13:47 +0200
commitbe16901ae165266a74d25b6e1fe5e3704653d651 (patch)
treeac1bbd7dc1335d69d75bd8a736c64856f11b80a9 /Source/Core/VideoBackends/Software/SWVertexLoader.cpp
parent63c373c843a6f1b0e5e0cd3a8cd6f7649cfdac7e (diff)
VideoSW: Don't raise a PanicAlert because of indices
It's not panic, it may just render wrong. And this case seems to happen often.
Diffstat (limited to 'Source/Core/VideoBackends/Software/SWVertexLoader.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/SWVertexLoader.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp
index d745ed9507..9127a84f78 100644
--- a/Source/Core/VideoBackends/Software/SWVertexLoader.cpp
+++ b/Source/Core/VideoBackends/Software/SWVertexLoader.cpp
@@ -60,12 +60,7 @@ void SWVertexLoader::SetFormat(u8 attributeIndex, u8 primitiveType)
xfmem.MatrixIndexB.Tex6MtxIdx != g_main_cp_state.matrix_index_b.Tex6MtxIdx ||
xfmem.MatrixIndexB.Tex7MtxIdx != g_main_cp_state.matrix_index_b.Tex7MtxIdx)
{
- WARN_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;
+ ERROR_LOG(VIDEO, "Matrix indices don't match");
}
m_Vertex.posMtx = xfmem.MatrixIndexA.PosNormalMtxIdx;