diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2015-02-20 01:11:25 +0100 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2015-02-20 01:11:25 +0100 |
| commit | 8b095a0178b408cd3acab952958c85381180293a (patch) | |
| tree | 2bc88c42aa394cd3447ea8d592a818186299d0fb /Source/Core/VideoCommon/VertexManagerBase.cpp | |
| parent | 0360e01eaf917df16a00840aebb3b4a924778777 (diff) | |
| parent | 074397c12dd95b6c5119054ed6674043fb4641cc (diff) | |
Merge pull request #2059 from magumagu/palette-convert
Decode EFB copies used as paletted textures.
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexManagerBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp index 2ebb42122f..bf7800cc9a 100644 --- a/Source/Core/VideoCommon/VertexManagerBase.cpp +++ b/Source/Core/VideoCommon/VertexManagerBase.cpp @@ -209,6 +209,7 @@ void VertexManager::Flush() if (bpmem.tevind[i].IsActive() && bpmem.tevind[i].bt < bpmem.genMode.numindstages) usedtextures[bpmem.tevindref.getTexMap(bpmem.tevind[i].bt)] = true; + TextureCache::UnbindTextures(); for (unsigned int i : usedtextures) { g_renderer->SetSamplerState(i & 3, i >> 2); @@ -224,6 +225,7 @@ void VertexManager::Flush() ERROR_LOG(VIDEO, "error loading texture"); } } + TextureCache::BindTextures(); } // set global vertex constants |
