mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
VideoCommon: Treat invalid normal count as NormalTangentBinormal
See https://bugs.dolphin-emu.org/issues/13070.
This commit is contained in:
parent
4787b25a7f
commit
574939b683
2 changed files with 13 additions and 6 deletions
|
@ -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 ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue