summaryrefslogtreecommitdiff
path: root/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-03-26 15:46:37 -0700
committerPokechu22 <Pokechu022@gmail.com>2021-03-26 17:27:21 -0700
commit51de3d0fd177558f2626eb19fb01253498e681d3 (patch)
tree8889a1f91a7b8cb5152a350342e7d5383b8f6da6 /Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
parentc915b780cf8fa0d1b83b6683c52b14eaef796a3f (diff)
Refactor CP array constants slightly
Diffstat (limited to 'Source/UnitTests/VideoCommon/VertexLoaderTest.cpp')
-rw-r--r--Source/UnitTests/VideoCommon/VertexLoaderTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
index bb09b1608e..4bad4a35a7 100644
--- a/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
+++ b/Source/UnitTests/VideoCommon/VertexLoaderTest.cpp
@@ -352,7 +352,7 @@ TEST_F(VertexLoaderTest, LargeFloatVertexSpeed)
CreateAndCheckSizes(33, 156);
- for (int i = 0; i < 12; i++)
+ for (int i = 0; i < NUM_VERTEX_COMPONENT_ARRAYS; i++)
{
VertexLoaderManager::cached_arraybases[i] = m_src.GetPointer();
g_main_cp_state.array_strides[i] = 129;