summaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index f1cfa9361..4f66dbd65 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -46,10 +46,8 @@ void DebugContext::OnEvent(Event event, void* data) {
46 { 46 {
47 std::unique_lock<std::mutex> lock(breakpoint_mutex); 47 std::unique_lock<std::mutex> lock(breakpoint_mutex);
48 48
49 if (Settings::values.use_hw_renderer) { 49 // Commit the hardware renderer's framebuffer so it will show on debug widgets
50 // Commit the hardware renderer's framebuffer so it will show on debug widgets 50 VideoCore::g_renderer->rasterizer->FlushFramebuffer();
51 VideoCore::g_renderer->hw_rasterizer->CommitFramebuffer();
52 }
53 51
54 // TODO: Should stop the CPU thread here once we multithread emulation. 52 // TODO: Should stop the CPU thread here once we multithread emulation.
55 53