diff options
| author | flacs <tilkax@gmail.com> | 2015-10-23 07:51:40 +0200 |
|---|---|---|
| committer | flacs <tilkax@gmail.com> | 2015-10-23 07:51:40 +0200 |
| commit | ece2e91446c6a9a4ae1da3feb28d53138673f69e (patch) | |
| tree | ee0ec9138c9e52698afb74b03a5e8fa5a3edbf64 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | 5228758383df49f5f17e5fd64262f755b6d1c317 (diff) | |
| parent | 33784456a5d8d5801339b53ed43a2f7960393cd8 (diff) | |
Merge pull request #3193 from Tilka/swizzle
VertexLoaderX64: optimize 4444 color conversion
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]); } |
