GPU: Cleanup GetVertTypeID() usage.

This commit is contained in:
Unknown W. Brackets committed 2022-11-06 08:01:57 -08:00
1 parent 92cd3fa5cc
commit a5d3af9cb0
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -137,7 +137,7 @@ void SoftwareDrawEngine::DispatchSubmitImm(GEPrimitiveType prim, TransformedVert
}
VertexDecoder *SoftwareDrawEngine::FindVertexDecoder(u32 vtype) {
const u32 vertTypeID = (vtype & 0xFFFFFF) | (gstate.getUVGenMode() << 24);
const u32 vertTypeID = GetVertTypeID(vtype, gstate.getUVGenMode());
return DrawEngineCommon::GetVertexDecoder(vertTypeID);
}