mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +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
|
@ -25,7 +25,7 @@
|
|||
#include "VideoCommon/VideoConfig.h"
|
||||
|
||||
SWRenderer::SWRenderer(std::unique_ptr<SWOGLWindow> window)
|
||||
: ::Renderer(static_cast<int>(MAX_XFB_WIDTH), static_cast<int>(MAX_XFB_HEIGHT),
|
||||
: ::Renderer(static_cast<int>(MAX_XFB_WIDTH), static_cast<int>(MAX_XFB_HEIGHT), 1.0f,
|
||||
AbstractTextureFormat::RGBA8),
|
||||
m_window(std::move(window))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue