summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/BPStructs.cpp
diff options
context:
space:
mode:
authorStenzek <stenzek@gmail.com>2019-04-16 00:47:46 +1000
committerStenzek <stenzek@gmail.com>2019-04-21 14:28:14 +1000
commitf8c1ba409cdfc41e60d27b0fc002a8fd79f9c73e (patch)
treec3814adea3fb269649fd18e1afd3c8764be5c491 /Source/Core/VideoCommon/BPStructs.cpp
parent6ea43235d54a18b70529cb6d0d740e0f8f9c34ea (diff)
Replace EFBRectangle/TargetRectangle with MathUtil::Rectangle
Diffstat (limited to 'Source/Core/VideoCommon/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/BPStructs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp
index 925619e797..12fc46b209 100644
--- a/Source/Core/VideoCommon/BPStructs.cpp
+++ b/Source/Core/VideoCommon/BPStructs.cpp
@@ -219,7 +219,7 @@ static void BPWritten(const BPCmd& bp)
u32 destAddr = bpmem.copyTexDest << 5;
u32 destStride = bpmem.copyMipMapStrideChannels << 5;
- EFBRectangle srcRect;
+ MathUtil::Rectangle<int> srcRect;
srcRect.left = static_cast<int>(bpmem.copyTexSrcXY.x);
srcRect.top = static_cast<int>(bpmem.copyTexSrcXY.y);