From 1ae8edc1d006b321941983ad262b9f16c16e9074 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 3 May 2014 17:03:19 -0400 Subject: [PATCH] BPStructs: Remove another function wrapper --- Source/Core/VideoCommon/BPStructs.cpp | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index e081897d74..b8cd8d727e 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -39,11 +39,6 @@ void BPInit() bpmem.bpMask = 0xFFFFFF; } -void RenderToXFB(const BPCmd &bp, const EFBRectangle &rc, float yScale, float xfbLines, u32 xfbAddr, const u32 dstWidth, const u32 dstHeight, float gamma) -{ - Renderer::RenderToXFB(xfbAddr, dstWidth, dstHeight, rc, gamma); -} - static void BPWritten(const BPCmd& bp) { /* @@ -245,11 +240,11 @@ static void BPWritten(const BPCmd& bp) xfbLines = MAX_XFB_HEIGHT; } - RenderToXFB(bp, rc, yScale, xfbLines, - bpmem.copyTexDest << 5, - bpmem.copyMipMapStrideChannels << 4, - (u32)xfbLines, - s_gammaLUT[PE_copy.gamma]); + Renderer::RenderToXFB(bpmem.copyTexDest << 5, + bpmem.copyMipMapStrideChannels << 4, + (u32)xfbLines, + rc, + s_gammaLUT[PE_copy.gamma]); } // Clear the rectangular region after copying it.