diff options
| author | JMC47 <JMC4789@gmail.com> | 2022-10-25 03:17:19 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-25 03:17:19 -0400 |
| commit | 9ef7a3b44c378ee4e51e5fbc1d75903a85f15b5c (patch) | |
| tree | bf450ee7813c94f5bf941738359907fe79f26392 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | b66793194e7b9e34080764e5985d49055ccaa37d (diff) | |
| parent | 574939b6831517857d46dffc7fad4ca259e88183 (diff) | |
Merge pull request #11207 from Pokechu22/invalid-normal-count
VideoCommon: Treat invalid normal count as NormalTangentBinormal
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index 08dbe8a4d5..55f3514486 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -270,11 +270,9 @@ static void CheckCPConfiguration(int vtx_attr_group) num_xf_normals = 1; break; case NormalCount::NormalTangentBinormal: + case NormalCount::Invalid: // see https://bugs.dolphin-emu.org/issues/13070 num_xf_normals = 3; break; - default: - PanicAlertFmt("xfmem.invtxspec.numnormals is invalid: {}", xfmem.invtxspec.numnormals); - break; } if (num_cp_colors != xfmem.invtxspec.numcolors || num_cp_normals != num_xf_normals || |
