summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Fifo.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2022-10-04 22:40:58 -0400
committerGitHub <noreply@github.com>2022-10-04 22:40:58 -0400
commit4b6086b20a95183f453c5957104536f84a510077 (patch)
tree3a75ac25c823b8ba7cf30920b11d00a276dd0703 /Source/Core/VideoCommon/Fifo.cpp
parent5479f0e776009d85c509fc6f9874aceeaed9b85b (diff)
parent779fe13e62e6c0e9d591f2cb33d00a89191dd6a6 (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/Fifo.cpp')
-rw-r--r--Source/Core/VideoCommon/Fifo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Fifo.cpp b/Source/Core/VideoCommon/Fifo.cpp
index 5b31589e82..faea454147 100644
--- a/Source/Core/VideoCommon/Fifo.cpp
+++ b/Source/Core/VideoCommon/Fifo.cpp
@@ -26,6 +26,7 @@
#include "VideoCommon/CPMemory.h"
#include "VideoCommon/CommandProcessor.h"
#include "VideoCommon/DataReader.h"
+#include "VideoCommon/FramebufferManager.h"
#include "VideoCommon/OpcodeDecoding.h"
#include "VideoCommon/VertexLoaderManager.h"
#include "VideoCommon/VertexManagerBase.h"
@@ -415,6 +416,7 @@ void RunGpuLoop()
// The fifo is empty and it's unlikely we will get any more work in the near future.
// Make sure VertexManager finishes drawing any primitives it has stored in it's buffer.
g_vertex_manager->Flush();
+ g_framebuffer_manager->RefreshPeekCache();
}
},
100);