revert last commit, add CheckInvalidState to VideoBackend

This commit is contained in:
degasus
2012-12-23 13:32:23 +01:00
parent ffddfd8662
commit bd0abb3d2f
9 changed files with 57 additions and 57 deletions

View File

@ -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();
}