mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06: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