diff options
| author | Lioncash <mathew1800@gmail.com> | 2016-03-08 21:31:41 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2016-03-08 21:31:44 -0500 |
| commit | bf76afc68d3501e1f8c9a1460aac74438e1c64af (patch) | |
| tree | 2e34d009e02b87c927d047ab831f771ed126fa75 /src/video_core/debug_utils/debug_utils.cpp | |
| parent | 58c336b67109e89b3d47e2873e8271e7291a59d0 (diff) | |
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/debug_utils.cpp')
| -rw-r--r-- | src/video_core/debug_utils/debug_utils.cpp | 2 |
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) { std::unique_lock<std::mutex> lock(breakpoint_mutex); // Commit the hardware renderer's framebuffer so it will show on debug widgets - VideoCore::g_renderer->rasterizer->FlushFramebuffer(); + VideoCore::g_renderer->Rasterizer()->FlushFramebuffer(); // TODO: Should stop the CPU thread here once we multithread emulation. |
