summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexManagerBase.cpp
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2016-12-23 04:33:42 -0500
committerGitHub <noreply@github.com>2016-12-23 04:33:42 -0500
commit9160be50dbfa31073eda0148378786f69b219805 (patch)
tree579bca3b98e8dd47ec3b18911504a669a2853cf9 /Source/Core/VideoCommon/VertexManagerBase.cpp
parentf2322bee90c1bd973a6cc4e99d4df78c7d2d0027 (diff)
parent58a53951735aba77899ea8f8910a6b68dc52449a (diff)
Merge pull request #4224 from lioncash/tcache
TextureCacheBase: Eliminate static state
Diffstat (limited to 'Source/Core/VideoCommon/VertexManagerBase.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexManagerBase.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexManagerBase.cpp b/Source/Core/VideoCommon/VertexManagerBase.cpp
index ab4dced0e9..4ff4c2c528 100644
--- a/Source/Core/VideoCommon/VertexManagerBase.cpp
+++ b/Source/Core/VideoCommon/VertexManagerBase.cpp
@@ -214,10 +214,10 @@ void VertexManagerBase::Flush()
if (bpmem.tevind[i].IsActive() && bpmem.tevind[i].bt < bpmem.genMode.numindstages)
usedtextures[bpmem.tevindref.getTexMap(bpmem.tevind[i].bt)] = true;
- TextureCacheBase::UnbindTextures();
+ g_texture_cache->UnbindTextures();
for (unsigned int i : usedtextures)
{
- const TextureCacheBase::TCacheEntryBase* tentry = TextureCacheBase::Load(i);
+ const auto* tentry = g_texture_cache->Load(i);
if (tentry)
{