summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/RenderBase.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2017-04-09 14:38:43 -0400
committerLioncash <mathew1800@gmail.com>2017-04-09 14:41:51 -0400
commit671b5f97472301c5916617c55995fec6f0dc145a (patch)
treedaecfb966e93766614a1ad20bcde26362938b38c /Source/Core/VideoCommon/RenderBase.h
parent9d070a5df79a7f34dc4936855da36a333803fa12 (diff)
RenderBase: Return a tuple from CalculateTargetScale instead of using out parameters
Diffstat (limited to 'Source/Core/VideoCommon/RenderBase.h')
-rw-r--r--Source/Core/VideoCommon/RenderBase.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/RenderBase.h b/Source/Core/VideoCommon/RenderBase.h
index 4882b8853d..11e546a6d5 100644
--- a/Source/Core/VideoCommon/RenderBase.h
+++ b/Source/Core/VideoCommon/RenderBase.h
@@ -144,7 +144,7 @@ public:
bool UseVertexDepthRange() const;
protected:
- void CalculateTargetScale(int x, int y, int* scaledX, int* scaledY) const;
+ std::tuple<int, int> CalculateTargetScale(int x, int y) const;
bool CalculateTargetSize();
void CheckFifoRecording();