aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorGravatar tfarley <tfarleygithub@gmail.com>2015-05-18 21:21:33 -0700
committerGravatar tfarley <tfarleygithub@gmail.com>2015-05-22 15:51:18 -0700
commit05dc633a8c35221ce8d6abe6ddf027f8b0bab6c2 (patch)
treed080c1efd3b928bda551cb9eee304547e66a4351 /src/video_core/debug_utils
parent6d995b1ff654483f830b6c285629545263393d7e (diff)
OpenGL renderer
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp4
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 883df48a..9da44ccd 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;