VertexLoaderManager: Fix backwards preprocess check

Spotted by Pokechu22.
This commit is contained in:
Robin Kertels 2022-09-15 22:14:09 +02:00
parent 32fba6dbd8
commit a31e36aeb7
No known key found for this signature in database
GPG Key ID: 3824904F14D40757
1 changed files with 1 additions and 1 deletions

View File

@ -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;