summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/Rasterizer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/Software/Rasterizer.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/Rasterizer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/Core/VideoBackends/Software/Rasterizer.cpp b/Source/Core/VideoBackends/Software/Rasterizer.cpp
index a1d4dda0d3..2839e05b73 100644
--- a/Source/Core/VideoBackends/Software/Rasterizer.cpp
+++ b/Source/Core/VideoBackends/Software/Rasterizer.cpp
@@ -18,6 +18,7 @@
#include "VideoCommon/PerfQueryBase.h"
#include "VideoCommon/Statistics.h"
#include "VideoCommon/VideoCommon.h"
+#include "VideoCommon/XFMemory.h"
namespace Rasterizer
{
@@ -113,7 +114,9 @@ void Init()
void ScissorChanged()
{
- scissors = std::move(BPFunctions::ComputeScissorRects().m_result);
+ auto scissor_result = BPFunctions::ComputeScissorRects(bpmem.scissorTL, bpmem.scissorBR,
+ bpmem.scissorOffset, xfmem.viewport);
+ scissors = std::move(scissor_result.rectangles);
}
// Returns approximation of log2(f) in s28.4