summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2015-10-19 20:32:22 +0200
committerTillmann Karras <tilkax@gmail.com>2015-10-22 16:31:02 +0200
commit2a58802c00f55d0403828c7ff4c7419c4a5f0567 (patch)
tree2a6b135ce23ddb3ec21180895854d35308706565 /Source/Core/VideoCommon/VertexLoaderManager.cpp
parentd80124ab5978a3081f800e82b4600002fce14869 (diff)
VertexLoaderManager: symbolize magic constant
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index 0099064ca5..4a61c6bc6e 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -71,7 +71,7 @@ void UpdateVertexArrayPointers()
for (int i = 0; i < 12; i++)
{
// Only update the array base if the vertex description states we are going to use it.
- if (g_main_cp_state.vtx_desc.GetVertexArrayStatus(i) >= 0x2)
+ if (g_main_cp_state.vtx_desc.GetVertexArrayStatus(i) & MASK_INDEXED)
cached_arraybases[i] = Memory::GetPointer(g_main_cp_state.array_bases[i]);
}