diff --git a/external/netImgui b/external/netImgui index 07a4efe5..ea5d9fa8 160000 --- a/external/netImgui +++ b/external/netImgui @@ -1 +1 @@ -Subproject commit 07a4efe560fd5230b08f3324da950f80210f280a +Subproject commit ea5d9fa81f40c42561e7e072f65f5213aff8eef0 diff --git a/src/netimgui_remote_display/netimgui_remote_display.cpp b/src/netimgui_remote_display/netimgui_remote_display.cpp index 49a46d2c..ab337672 100644 --- a/src/netimgui_remote_display/netimgui_remote_display.cpp +++ b/src/netimgui_remote_display/netimgui_remote_display.cpp @@ -45,6 +45,8 @@ int main(int argc, char **argv) runnerParams.callbacks.PostInit = [&pass_cmd_line_args_to_server]() { pass_cmd_line_args_to_server(); NetImguiServer::UI::SetUseServerDisplayDPISettings(true); + float windowDPISizeFactor = HelloImGui::GetRunnerParams()->dpiAwareParams.dpiWindowSizeFactor; + NetImguiServer::UI::SetWindowDPISizeFactor(windowDPISizeFactor); }; runnerParams.callbacks.PreNewFrame = []() {