RenderBase: Return a tuple from ConvertStereoRectangle instead of using out parameters

This commit is contained in:
Lioncash
2017-04-09 15:05:24 -04:00
parent 671b5f9747
commit c7ab6861c2
6 changed files with 30 additions and 23 deletions

View File

@ -100,8 +100,8 @@ public:
void UpdateDrawRectangle();
// Use this to convert a single target rectangle to two stereo rectangles
void ConvertStereoRectangle(const TargetRectangle& rc, TargetRectangle& leftRc,
TargetRectangle& rightRc) const;
std::tuple<TargetRectangle, TargetRectangle>
ConvertStereoRectangle(const TargetRectangle& rc) const;
// Use this to upscale native EFB coordinates to IDEAL internal resolution
int EFBToScaledX(int x) const;