summaryrefslogtreecommitdiff
path: root/src/video_core/debug_utils
diff options
context:
space:
mode:
authorGravatar Lioncash2016-03-08 21:31:41 -0500
committerGravatar Lioncash2016-03-08 21:31:44 -0500
commitbf76afc68d3501e1f8c9a1460aac74438e1c64af (patch)
tree2e34d009e02b87c927d047ab831f771ed126fa75 /src/video_core/debug_utils
parentMerge pull request #1441 from MerryMage/dsp-pipes (diff)
downloadyuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.gz
yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.tar.xz
yuzu-bf76afc68d3501e1f8c9a1460aac74438e1c64af.zip
renderer_base: Don't directly expose the rasterizer unique_ptr
There's no reason to allow direct access to the unique_ptr instance. Only its contained pointer.
Diffstat (limited to 'src/video_core/debug_utils')
-rw-r--r--src/video_core/debug_utils/debug_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/debug_utils/debug_utils.cpp b/src/video_core/debug_utils/debug_utils.cpp
index 6e21caa78..271e81ca1 100644
--- a/src/video_core/debug_utils/debug_utils.cpp
+++ b/src/video_core/debug_utils/debug_utils.cpp
@@ -48,7 +48,7 @@ void DebugContext::OnEvent(Event event, void* data) {
48 std::unique_lock<std::mutex> lock(breakpoint_mutex); 48 std::unique_lock<std::mutex> lock(breakpoint_mutex);
49 49
50 // Commit the hardware renderer's framebuffer so it will show on debug widgets 50 // Commit the hardware renderer's framebuffer so it will show on debug widgets
51 VideoCore::g_renderer->rasterizer->FlushFramebuffer(); 51 VideoCore::g_renderer->Rasterizer()->FlushFramebuffer();
52 52
53 // TODO: Should stop the CPU thread here once we multithread emulation. 53 // TODO: Should stop the CPU thread here once we multithread emulation.
54 54