summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
diff options
context:
space:
mode:
authordegasus <wickmarkus@web.de>2012-12-23 13:32:23 +0100
committerdegasus <wickmarkus@web.de>2012-12-23 13:32:23 +0100
commitbd0abb3d2fe5047554bb6b87fa8e3f6aa3f42e0b (patch)
treee3fb4fbbddce310cbc3a6efed74c60cac89126e7 /Source/Core/VideoCommon/Src/VertexManagerBase.cpp
parentffddfd8662bda4fedcfcc8cad73f02bd7a522925 (diff)
revert last commit, add CheckInvalidState to VideoBackend
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexManagerBase.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/VertexManagerBase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
index 23f355fe3b..5be72e4fcf 100644
--- a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
+++ b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp
@@ -161,7 +161,7 @@ void VertexManager::AddVertices(int primitive, int numVertices)
void VertexManager::Flush()
{
// loading a state will invalidate BP, so check for it
- BPReload();
+ g_video_backend->CheckInvalidState();
g_vertex_manager->vFlush();
}