mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-10 18:18:49 +00:00
RenderBase: clean up UpdateDrawRectangle
This commit is contained in:
parent
24d5d89056
commit
3158a5bc35
2 changed files with 55 additions and 76 deletions
|
@ -93,7 +93,8 @@ public:
|
|||
virtual TargetRectangle ConvertEFBRectangle(const EFBRectangle& rc) = 0;
|
||||
|
||||
const TargetRectangle& GetTargetRectangle() const { return m_target_rectangle; }
|
||||
float CalculateDrawAspectRatio(int target_width, int target_height) const;
|
||||
float CalculateDrawAspectRatio() const;
|
||||
|
||||
std::tuple<float, float> ScaleToDisplayAspectRatio(int width, int height) const;
|
||||
TargetRectangle CalculateFrameDumpDrawRectangle() const;
|
||||
void UpdateDrawRectangle();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue