summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Vulkan/Renderer.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/VideoBackends/Vulkan/Renderer.cpp
parentf2322bee90c1bd973a6cc4e99d4df78c7d2d0027 (diff)
parent58a53951735aba77899ea8f8910a6b68dc52449a (diff)
Merge pull request #4224 from lioncash/tcache
TextureCacheBase: Eliminate static state
Diffstat (limited to 'Source/Core/VideoBackends/Vulkan/Renderer.cpp')
-rw-r--r--Source/Core/VideoBackends/Vulkan/Renderer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoBackends/Vulkan/Renderer.cpp b/Source/Core/VideoBackends/Vulkan/Renderer.cpp
index 2fe7f56687..9c558aa9f9 100644
--- a/Source/Core/VideoBackends/Vulkan/Renderer.cpp
+++ b/Source/Core/VideoBackends/Vulkan/Renderer.cpp
@@ -559,7 +559,7 @@ void Renderer::SwapImpl(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height
CheckForTargetResize(fb_width, fb_stride, fb_height);
// Clean up stale textures.
- TextureCacheBase::Cleanup(frameCount);
+ TextureCache::GetInstance()->Cleanup(frameCount);
}
void Renderer::DrawFrame(VkRenderPass render_pass, const TargetRectangle& target_rect,
@@ -1112,7 +1112,7 @@ void Renderer::CheckForConfigChanges()
bool aspect_changed = old_aspect_ratio != g_ActiveConfig.iAspectRatio;
// Update texture cache settings with any changed options.
- TextureCache::OnConfigChanged(g_ActiveConfig);
+ TextureCache::GetInstance()->OnConfigChanged(g_ActiveConfig);
// Handle internal resolution changes.
if (efb_scale_changed)