mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 20:28:56 +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
|
@ -225,7 +225,7 @@ bool VideoBackend::Initialize(const WindowSystemInfo& wsi)
|
|||
|
||||
// Create main wrapper instances.
|
||||
g_framebuffer_manager = std::make_unique<FramebufferManager>();
|
||||
g_renderer = std::make_unique<Renderer>(std::move(swap_chain));
|
||||
g_renderer = std::make_unique<Renderer>(std::move(swap_chain), wsi.render_surface_scale);
|
||||
g_vertex_manager = std::make_unique<VertexManager>();
|
||||
g_texture_cache = std::make_unique<TextureCache>();
|
||||
::g_shader_cache = std::make_unique<VideoCommon::ShaderCache>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue