diff options
| author | baby.lueshi <baby.lueshi@gmail.com> | 2011-02-05 10:08:06 +0000 |
|---|---|---|
| committer | baby.lueshi <baby.lueshi@gmail.com> | 2011-02-05 10:08:06 +0000 |
| commit | 888cd787248839377c56a4d4db64bced3b3fa028 (patch) | |
| tree | 94394e0894be33e1eaff9c83dd2bc9b1bed1e575 /Source/Core/VideoCommon/Src/VertexManagerBase.cpp | |
| parent | 20e2046fe180acf5e8034c7ff035ecf4acbc9c34 (diff) | |
Changes to hi-res textures. Textures now load correctly when loading/saving a savestate, and can be toggled on and off in game.
Changed non-hi-res textures to use MurmurHash3, which has better performance that the previous hash.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7080 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/VertexManagerBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp index 84c53b3ebf..7b07430c8f 100644 --- a/Source/Core/VideoCommon/Src/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/Src/VertexManagerBase.cpp @@ -158,7 +158,9 @@ 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 |
