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:
Lioncash 2016-03-08 21:31:41 -05:00
parent 58c336b671
commit bf76afc68d
6 changed files with 21 additions and 18 deletions

View file

@ -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.