aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/y2r_u.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-12-06 19:06:12 -0800
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-12-07 20:20:38 -0800
commit195fedccf07b909c95e5905c7154c595bb260fc7 (patch)
treeb36ecb555672b6994e4bd11812a605fe2726d172 /src/core/hle/service/y2r_u.cpp
parent03835d04f42fdcd480b5f5d909b5e5cd81ed62a0 (diff)
VideoCore: Unify interface to OpenGL and SW rasterizers
This removes explicit checks sprinkled all over the codebase to instead just have the SW rasterizer expose an implementation with no-ops for most operations.
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 face1d7b0..0429927f2 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->hw_rasterizer->InvalidateRegion(
+ VideoCore::g_renderer->rasterizer->InvalidateRegion(
Memory::VirtualToPhysicalAddress(conversion.dst.address), total_output_size);
LOG_DEBUG(Service_Y2R, "called");