summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPFunctions.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2023-01-31 18:13:47 +1300
committerScott Mansell <phiren@gmail.com>2023-02-09 18:36:20 +1300
commit2cfc02a1169653566e277a7e23e69fd5eb628434 (patch)
treeaa02397ee668f752b08f45094cee88a37cb58520 /Source/Core/VideoCommon/BPFunctions.cpp
parent9b5397abdb643b5d40211e71f7a58bb3814c29c4 (diff)
Move m_prev_efb_format into FramebufferManager
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 ef705a50fd..5bd4ab241c 100644
--- a/Source/Core/VideoCommon/BPFunctions.cpp
+++ b/Source/Core/VideoCommon/BPFunctions.cpp
@@ -364,9 +364,9 @@ void OnPixelFormatChange()
if (!g_ActiveConfig.bEFBEmulateFormatChanges)
return;
- const auto old_format = g_renderer->GetPrevPixelFormat();
+ const auto old_format = g_framebuffer_manager->GetPrevPixelFormat();
const auto new_format = bpmem.zcontrol.pixel_format;
- g_renderer->StorePixelFormat(new_format);
+ g_framebuffer_manager->StorePixelFormat(new_format);
DEBUG_LOG_FMT(VIDEO, "pixelfmt: pixel={}, zc={}", new_format, bpmem.zcontrol.zformat);