diff options
| author | Tillmann Karras <tilkax@gmail.com> | 2015-10-19 20:32:22 +0200 |
|---|---|---|
| committer | Tillmann Karras <tilkax@gmail.com> | 2015-10-22 16:31:02 +0200 |
| commit | 2a58802c00f55d0403828c7ff4c7419c4a5f0567 (patch) | |
| tree | 2a6b135ce23ddb3ec21180895854d35308706565 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | d80124ab5978a3081f800e82b4600002fce14869 (diff) | |
VertexLoaderManager: symbolize magic constant
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 2 |
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]); } |
