mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 05:38:50 +00:00
VideoBackends: Store a backbuffer 'scale'
This is a scaling factor, used for hi-dpi configurations.
This commit is contained in:
parent
e03b8e899e
commit
c9c0b85056
15 changed files with 26 additions and 17 deletions
|
@ -18,7 +18,7 @@ class D3DTexture2D;
|
|||
class Renderer : public ::Renderer
|
||||
{
|
||||
public:
|
||||
Renderer(int backbuffer_width, int backbuffer_height);
|
||||
Renderer(int backbuffer_width, int backbuffer_height, float backbuffer_scale);
|
||||
~Renderer() override;
|
||||
|
||||
StateCache& GetStateCache() { return m_state_cache; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue