summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/NativeVertexFormat.h
diff options
context:
space:
mode:
authorTellowKrinkle <tellowkrinkle@gmail.com>2022-08-03 01:13:55 -0500
committerTellowKrinkle <tellowkrinkle@gmail.com>2022-09-19 16:28:24 -0500
commit1eb3aaa5484a05037d51899ff35d9c553962373e (patch)
tree4f277ae8547bdf2602f15760dfdbe0f1782df719 /Source/Core/VideoCommon/NativeVertexFormat.h
parent28b31b83279925245d82627542c2928800e96d29 (diff)
VideoCommon: Use std::array in PortableVertexDeclaration
Diffstat (limited to 'Source/Core/VideoCommon/NativeVertexFormat.h')
-rw-r--r--Source/Core/VideoCommon/NativeVertexFormat.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/NativeVertexFormat.h b/Source/Core/VideoCommon/NativeVertexFormat.h
index 55e1a40178..89f3a06db5 100644
--- a/Source/Core/VideoCommon/NativeVertexFormat.h
+++ b/Source/Core/VideoCommon/NativeVertexFormat.h
@@ -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