mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
RenderBase: Extract the framebuffer size to display size code into function.
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#include <mutex>
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <tuple>
|
||||
#include <vector>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
@ -94,6 +95,7 @@ public:
|
||||
|
||||
static const TargetRectangle& GetTargetRectangle() { return target_rc; }
|
||||
static float CalculateDrawAspectRatio(int target_width, int target_height);
|
||||
static std::tuple<float, float> ScaleToDisplayAspectRatio(int width, int height);
|
||||
static TargetRectangle CalculateFrameDumpDrawRectangle();
|
||||
static void UpdateDrawRectangle();
|
||||
|
||||
|
Reference in New Issue
Block a user