diff options
| author | JMC47 <JMC4789@gmail.com> | 2022-10-04 22:40:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-04 22:40:58 -0400 |
| commit | 4b6086b20a95183f453c5957104536f84a510077 (patch) | |
| tree | 3a75ac25c823b8ba7cf30920b11d00a276dd0703 /Source/Core/VideoCommon/RenderBase.cpp | |
| parent | 5479f0e776009d85c509fc6f9874aceeaed9b85b (diff) | |
| parent | 779fe13e62e6c0e9d591f2cb33d00a89191dd6a6 (diff) | |
Merge pull request #11098 from K0bin/refresh-efb-cache
VideoCommon: Update EFB peek cache on draw done and tokens
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/RenderBase.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.cpp b/Source/Core/VideoCommon/RenderBase.cpp index e51307fa15..6f727c50ed 100644 --- a/Source/Core/VideoCommon/RenderBase.cpp +++ b/Source/Core/VideoCommon/RenderBase.cpp @@ -1346,6 +1346,8 @@ void Renderer::Swap(u32 xfb_addr, u32 fb_width, u32 fb_stride, u32 fb_height, u6 m_graphics_mod_manager.EndOfFrame(); } + g_framebuffer_manager->EndOfFrame(); + if (xfb_addr && fb_width && fb_stride && fb_height) { // Get the current XFB from texture cache |
