Defer texture invalidation to the video thread from the video configuration dialog. Should fix issue 4069

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7108 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
baby.lueshi
2011-02-08 03:47:59 +00:00
parent f0adc3adb4
commit 1f0663c1a8
5 changed files with 17 additions and 7 deletions

View File

@ -158,9 +158,7 @@ void VertexManager::AddVertices(int primitive, int numVertices)
void VertexManager::Flush()
{
TextureCache::texMutex.Enter();
g_vertex_manager->vFlush();
TextureCache::texMutex.Leave();
}
// TODO: need to merge more stuff into VideoCommon to use this