VideoCommon: Update imgui scale when dpi changes

This commit is contained in:
TellowKrinkle
2023-06-10 02:11:14 -05:00
parent 7752e247f7
commit d3110b9521
2 changed files with 6 additions and 1 deletions

View File

@ -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();
}