aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils/debug_utils.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-04-22 08:15:51 -0400
committerbunnei <bunneidev@gmail.com>2016-04-22 08:15:51 -0400
commitbab30bcd6e6ea43cde9f75136e711a59f094b058 (patch)
treee5a16dc5b13ecfb831bf1986636d232f83ee4723 /src/video_core/debug_utils/debug_utils.cpp
parent14cc1ed9112f87e04f60eaa2cc2119c71fd07147 (diff)
parent22f3a7e94ce0e325a8c3dfeb0814c4b82a42649d (diff)
Merge pull request #1436 from tfarley/hw-tex-forwarding
Hardware Renderer Texture Forwarding
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.cpp')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index c3a9c9598..1f058c4e2 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -47,8 +47,8 @@ void DebugContext::OnEvent(Event event, void* data) {
{
std::unique_lock<std::mutex> lock(breakpoint_mutex);
- // Commit the hardware renderer's framebuffer so it will show on debug widgets
- VideoCore::g_renderer->Rasterizer()->FlushFramebuffer();
+ // Commit the rasterizer's caches so framebuffers, render targets, etc. will show on debug widgets
+ VideoCore::g_renderer->Rasterizer()->FlushAll();
// TODO: Should stop the CPU thread here once we multithread emulation.