diff options
| author | Robin Kertels <robin.kertels@gmail.com> | 2022-09-15 22:14:09 +0200 |
|---|---|---|
| committer | Robin Kertels <robin.kertels@gmail.com> | 2022-09-15 23:56:04 +0200 |
| commit | a31e36aeb757d9b0515990becd65cd0b8561da26 (patch) | |
| tree | e55bb9d2dfe8e28087044606130cce703a30236e /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | 32fba6dbd821a576140ca6b2d30be8e2353b5bc9 (diff) | |
VertexLoaderManager: Fix backwards preprocess check
Spotted by Pokechu22.
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 102eb5f94e..800cda7820 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -202,7 +202,7 @@ static VertexLoaderBase* RefreshLoader(int vtx_attr_group, bool preprocess = fal { CPState* state = preprocess ? &g_preprocess_cp_state : &g_main_cp_state; BitSet8& attr_dirty = preprocess ? g_preprocess_vat_dirty : g_main_vat_dirty; - auto& vertex_loaders = preprocess ? g_main_vertex_loaders : g_preprocess_vertex_loaders; + auto& vertex_loaders = preprocess ? g_preprocess_vertex_loaders : g_main_vertex_loaders; g_current_vat = vtx_attr_group; VertexLoaderBase* loader; |
