From 49a9c33bd75df2b8cebd58eab10f140c79a8f65c Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 30 Sep 2017 16:25:36 +1000 Subject: VideoCommon: Move abstract texture creation function to Renderer --- Source/Core/VideoCommon/RenderBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Core/VideoCommon/RenderBase.cpp') diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index 4a46475344..6f3e23923c 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -731,7 +731,7 @@ void Renderer::UpdateFrameDumpTexture() config.width = target_width; config.height = target_height; config.rendertarget = true; - m_dump_texture = g_texture_cache->CreateTexture(config); + m_dump_texture = CreateTexture(config); } m_dump_texture->CopyRectangleFromTexture(m_last_xfb_texture, m_last_xfb_region, EFBRectangle{0, 0, target_width, target_height}); -- cgit v1.2.3