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

@ -267,7 +267,7 @@ static void StartConversion(Service::Interface* self) {
// dst_image_size would seem to be perfect for this, but it doesn't include the gap :(
u32 total_output_size = conversion.input_lines *
(conversion.dst.transfer_unit + conversion.dst.gap);
VideoCore::g_renderer->rasterizer->InvalidateRegion(
VideoCore::g_renderer->Rasterizer()->InvalidateRegion(
Memory::VirtualToPhysicalAddress(conversion.dst.address), total_output_size);
LOG_DEBUG(Service_Y2R, "called");