diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-07 04:06:12 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-12-08 05:20:38 +0100 |
commit | 195fedccf07b909c95e5905c7154c595bb260fc7 (patch) | |
tree | b36ecb555672b6994e4bd11812a605fe2726d172 /src/video_core/debug_utils | |
parent | VideoCore: Rename HWRasterizer methods to be less confusing (diff) | |
download | yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.gz yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.bz2 yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.lz yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.xz yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.tar.zst yuzu-195fedccf07b909c95e5905c7154c595bb260fc7.zip |
Diffstat (limited to 'src/video_core/debug_utils')
-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 0e29661c7..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->FlushFramebuffer(); - } + // 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. |