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.
This commit is contained in:
parent
58c336b671
commit
bf76afc68d
6 changed files with 21 additions and 18 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue