summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-09-06 18:57:58 -0400
committerLioncash <mathew1800@gmail.com>2016-12-09 16:50:37 -0500
commit58a53951735aba77899ea8f8910a6b68dc52449a (patch)
tree48feeeeb9ce83b66213cf37d4c605ef1d5595244 /Source/Core/VideoCommon/BPStructs.cpp
parent1fa61af41329652ee92030825f9347d3d3f7ce93 (diff)
TextureCacheBase: Eliminate static state
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index f9bd1908de..75227a0433 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -227,9 +227,9 @@ static void BPWritten(const BPCmd& bp)
{
// bpmem.zcontrol.pixel_format to PEControl::Z24 is when the game wants to copy from ZBuffer
// (Zbuffer uses 24-bit Format)
- TextureCacheBase::CopyRenderTargetToTexture(destAddr, PE_copy.tp_realFormat(), destStride,
- bpmem.zcontrol.pixel_format, srcRect,
- !!PE_copy.intensity_fmt, !!PE_copy.half_scale);
+ g_texture_cache->CopyRenderTargetToTexture(destAddr, PE_copy.tp_realFormat(), destStride,
+ bpmem.zcontrol.pixel_format, srcRect,
+ !!PE_copy.intensity_fmt, !!PE_copy.half_scale);
}
else
{