summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPFunctions.cpp
diff options
context:
space:
mode:
authorMarkus Wick <degasus@users.noreply.github.com>2017-03-08 11:02:20 +0100
committerGitHub <noreply@github.com>2017-03-08 11:02:20 +0100
commit489d90b6f34bb526a2588545bc53d7a41531de9a (patch)
treeaba079785ffd67ec478bd23ad7a7a3198eb06b9a /Source/Core/VideoCommon/BPFunctions.cpp
parent9c1eac1f4f8231ee024fa9c3679e89f768dafa99 (diff)
parent459a5ab554af24c8e2c1978d02444bac5aa85e3f (diff)
Merge pull request #4999 from stenzek/renderer-statics
VideoCommon: Eliminate static state in Renderer
Diffstat (limited to 'Source/Core/VideoCommon/BPFunctions.cpp')
-rw-r--r--Source/Core/VideoCommon/BPFunctions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/BPFunctions.cpp b/Source/Core/VideoCommon/BPFunctions.cpp
index af114006b5..0bb2844a62 100644
--- a/Source/Core/VideoCommon/BPFunctions.cpp
+++ b/Source/Core/VideoCommon/BPFunctions.cpp
@@ -156,7 +156,7 @@ void OnPixelFormatChange()
if (!g_ActiveConfig.bEFBEmulateFormatChanges)
return;
- auto old_format = Renderer::GetPrevPixelFormat();
+ auto old_format = g_renderer->GetPrevPixelFormat();
auto new_format = bpmem.zcontrol.pixel_format;
// no need to reinterpret pixel data in these cases
@@ -209,7 +209,7 @@ skip:
DEBUG_LOG(VIDEO, "pixelfmt: pixel=%d, zc=%d", static_cast<int>(new_format),
static_cast<int>(bpmem.zcontrol.zformat));
- Renderer::StorePixelFormat(new_format);
+ g_renderer->StorePixelFormat(new_format);
}
void SetInterlacingMode(const BPCmd& bp)