mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
VideoCommon: Update imgui scale when dpi changes
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