diff options
| author | 2015-05-22 19:40:57 -0400 | |
|---|---|---|
| committer | 2015-05-22 19:40:57 -0400 | |
| commit | 7b94b312d39037e9a90c981b49743965c0d1a743 (patch) | |
| tree | f922946de22f54bf0c0aaaff01371f5ca7a2fc57 /src/video_core/debug_utils | |
| parent | Merge pull request #798 from yuriks/y2r-bw (diff) | |
| parent | Flush for y2r (moflex) (diff) | |
| download | yuzu-7b94b312d39037e9a90c981b49743965c0d1a743.tar.gz yuzu-7b94b312d39037e9a90c981b49743965c0d1a743.tar.xz yuzu-7b94b312d39037e9a90c981b49743965c0d1a743.zip | |
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 @@ | |||
| 24 | #include "video_core/math.h" | 24 | #include "video_core/math.h" |
| 25 | #include "video_core/pica.h" | 25 | #include "video_core/pica.h" |
| 26 | #include "video_core/utils.h" | 26 | #include "video_core/utils.h" |
| 27 | #include "video_core/video_core.h" | ||
| 27 | 28 | ||
| 28 | #include "debug_utils.h" | 29 | #include "debug_utils.h" |
| 29 | 30 | ||
| @@ -40,6 +41,9 @@ void DebugContext::OnEvent(Event event, void* data) { | |||
| 40 | { | 41 | { |
| 41 | std::unique_lock<std::mutex> lock(breakpoint_mutex); | 42 | std::unique_lock<std::mutex> lock(breakpoint_mutex); |
| 42 | 43 | ||
| 44 | // Commit the hardware renderer's framebuffer so it will show on debug widgets | ||
| 45 | VideoCore::g_renderer->hw_rasterizer->CommitFramebuffer(); | ||
| 46 | |||
| 43 | // TODO: Should stop the CPU thread here once we multithread emulation. | 47 | // TODO: Should stop the CPU thread here once we multithread emulation. |
| 44 | 48 | ||
| 45 | active_breakpoint = event; | 49 | active_breakpoint = event; |