From a31e36aeb757d9b0515990becd65cd0b8561da26 Mon Sep 17 00:00:00 2001 From: Robin Kertels Date: Thu, 15 Sep 2022 22:14:09 +0200 Subject: [PATCH] VertexLoaderManager: Fix backwards preprocess check Spotted by Pokechu22. --- Source/Core/VideoCommon/VertexLoaderManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;