mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-30 06:06:18 +00:00
VideoCommon: Use std::array in PortableVertexDeclaration
This commit is contained in:
parent
28b31b8327
commit
1eb3aaa548
5 changed files with 11 additions and 10 deletions
|
@ -289,7 +289,8 @@ public:
|
|||
}
|
||||
};
|
||||
template <size_t N>
|
||||
static void CopyAll(std::array<VertexAttribute, N>& output, const AttributeFormat (&input)[N])
|
||||
static void CopyAll(std::array<VertexAttribute, N>& output,
|
||||
const std::array<AttributeFormat, N>& input)
|
||||
{
|
||||
for (size_t i = 0; i < N; ++i)
|
||||
output[i] = VertexAttribute(input[i]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue