diff options
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderManager.cpp b/Source/Core/VideoCommon/VertexShaderManager.cpp index 78bf54da66..b74c820271 100644 --- a/Source/Core/VideoCommon/VertexShaderManager.cpp +++ b/Source/Core/VideoCommon/VertexShaderManager.cpp @@ -626,8 +626,8 @@ static void UpdateOffset(bool* dirty, bool include_components, u32* old_value, } template <size_t N> -static void UpdateOffsets(bool* dirty, bool include_components, u32 (*old_value)[N], - const AttributeFormat (&attribute)[N]) +static void UpdateOffsets(bool* dirty, bool include_components, std::array<u32, N>* old_value, + const std::array<AttributeFormat, N>& attribute) { for (size_t i = 0; i < N; i++) UpdateOffset(dirty, include_components, &(*old_value)[i], attribute[i]); |
