VideoCommon: Use std::array in PortableVertexDeclaration

This commit is contained in:
TellowKrinkle
2022-08-03 01:13:55 -05:00
parent 28b31b8327
commit 1eb3aaa548
5 changed files with 11 additions and 10 deletions

View File

@ -58,9 +58,9 @@ struct PortableVertexDeclaration
int stride;
AttributeFormat position;
AttributeFormat normals[3];
AttributeFormat colors[2];
AttributeFormat texcoords[8];
std::array<AttributeFormat, 3> normals;
std::array<AttributeFormat, 2> colors;
std::array<AttributeFormat, 8> texcoords;
AttributeFormat posmtx;
inline bool operator<(const PortableVertexDeclaration& b) const