aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/y2r_u.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2016-03-08 21:31:41 -0500
committerLioncash <mathew1800@gmail.com>2016-03-08 21:31:44 -0500
commitbf76afc68d3501e1f8c9a1460aac74438e1c64af (patch)
tree2e34d009e02b87c927d047ab831f771ed126fa75 /src/core/hle/service/y2r_u.cpp
parent58c336b67109e89b3d47e2873e8271e7291a59d0 (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/core/hle/service/y2r_u.cpp')
-rw-r--r--src/core/hle/service/y2r_u.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/y2r_u.cpp b/src/core/hle/service/y2r_u.cpp
index bbead9344..a495441a4 100644
--- a/src/core/hle/service/y2r_u.cpp
+++ b/src/core/hle/service/y2r_u.cpp
@@ -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");