mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Merge pull request #11918 from TellowKrinkle/DPIScale
Improved DPI change handling
This commit is contained in:
@ -176,6 +176,8 @@ void Presenter::SetBackbuffer(SurfaceInfo info)
|
||||
m_backbuffer_height = info.height;
|
||||
m_backbuffer_scale = info.scale;
|
||||
m_backbuffer_format = info.format;
|
||||
if (m_onscreen_ui)
|
||||
m_onscreen_ui->SetScale(info.scale);
|
||||
UpdateDrawRectangle();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user