mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
RenderBase: Return a tuple from ConvertStereoRectangle instead of using out parameters
This commit is contained in:
parent
671b5f9747
commit
c7ab6861c2
6 changed files with 30 additions and 23 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue