mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +00:00
Move m_prev_efb_format into FramebufferManager
This commit is contained in:
parent
9b5397abdb
commit
2cfc02a116
6 changed files with 7 additions and 31 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue