Fix. Need to flush soft-skinned vertices when changing vertex format.

This commit is contained in:
Henrik Rydgård committed 2023-10-03 11:01:37 +02:00
1 parent 200575b2bc
commit af7efe4b5d
1 file changed
+1
+1
View File
@@ -1052,6 +1052,7 @@ void GPUCommonHW::Execute_Prim(u32 op, u32 diff) {
uint32_t diff = data ^ vertexType;
// don't mask upper bits, vertexType is unmasked
if (diff) {
drawEngineCommon_->FlushSkin();
if (diff & vtypeCheckMask)
goto bail;
canExtend = false; // TODO: Might support extending between some vertex types in the future.