diff options
| author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 20:21:06 -0800 |
|---|---|---|
| committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 20:21:06 -0800 |
| commit | 31764c48fb8f78b998b6627ef4ea4f1b2ec83903 (patch) | |
| tree | 61533db5c3b250e4f3bc557e442b589e307201ca /src/video_core/debug_utils/debug_utils.cpp | |
| parent | 2589a68c428da231ba7814437fa77cd432c8693c (diff) | |
| parent | 195fedccf07b909c95e5905c7154c595bb260fc7 (diff) | |
Merge pull request #1272 from yuriks/merge-rasterizer
VideoCore: Unify interface to OpenGL and SW rasterizers
Diffstat (limited to 'src/video_core/debug_utils/debug_utils.cpp')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 6 |
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) { { std::unique_lock<std::mutex> lock(breakpoint_mutex); - if (Settings::values.use_hw_renderer) { - // Commit the hardware renderer's framebuffer so it will show on debug widgets - VideoCore::g_renderer->hw_rasterizer->CommitFramebuffer(); - } + // Commit the hardware renderer's framebuffer so it will show on debug widgets + VideoCore::g_renderer->rasterizer->FlushFramebuffer(); // TODO: Should stop the CPU thread here once we multithread emulation. |
