diff options
| author | bunnei <bunneidev@gmail.com> | 2015-05-22 19:40:57 -0400 |
|---|---|---|
| committer | bunnei <bunneidev@gmail.com> | 2015-05-22 19:40:57 -0400 |
| commit | 7b94b312d39037e9a90c981b49743965c0d1a743 (patch) | |
| tree | f922946de22f54bf0c0aaaff01371f5ca7a2fc57 /src/video_core/debug_utils | |
| parent | eca2b71fa8a6c4c104695b866952e4295dc6466f (diff) | |
| parent | 62668688e1055dbfcbff824acfd9c9f970fc2c09 (diff) | |
Merge pull request #789 from tfarley/opengl-renderer
OpenGL Hardware Renderer
Diffstat (limited to 'src/video_core/debug_utils')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp index 883df48a5..9da44ccd6 100644 --- a/src/video_core/debug_utils/debug_utils.cpp +++ b/src/video_core/debug_utils/debug_utils.cpp @@ -24,6 +24,7 @@ #include "video_core/math.h" #include "video_core/pica.h" #include "video_core/utils.h" +#include "video_core/video_core.h" #include "debug_utils.h" @@ -40,6 +41,9 @@ 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->hw_rasterizer->CommitFramebuffer(); + // TODO: Should stop the CPU thread here once we multithread emulation. active_breakpoint = event; |
