summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-01-06 23:29:51 +0100
committerPierre Bourdon <delroth@gmail.com>2016-01-06 23:29:51 +0100
commit3c65a7dd7f665eaea093806cfc280e3692b70aec (patch)
tree6166a471269a9b1eb2bf703a31c915489e428b44 /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent7fcb5a803b2e6179fe57654496fcea7f6b2ff183 (diff)
parentefbe5bc4b651d1f7f726bb064255e0e2562f7490 (diff)
Merge pull request #3156 from degasus/videosw2
VideoSW: Use VideoCommon framework and drop redundant code
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderManager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp
index baf04ba52a..5012dea9d8 100644
--- a/Source/Core/VideoCommon/VertexLoaderManager.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp
@@ -124,6 +124,7 @@ void MarkAllDirty()
static VertexLoaderBase* RefreshLoader(int vtx_attr_group, bool preprocess = false)
{
CPState* state = preprocess ? &g_preprocess_cp_state : &g_main_cp_state;
+ state->last_id = vtx_attr_group;
VertexLoaderBase* loader;
if (state->attr_dirty[vtx_attr_group])