Skip to content

Commit

Permalink
demodocking / hack: all dpi settings to one
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Apr 10, 2024
1 parent f8131ec commit 5a07c12
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -790,6 +790,10 @@ int main(int, char**)
//runnerParams.platformBackendType = HelloImGui::PlatformBackendType::Sdl;
//runnerParams.rendererBackendType = HelloImGui::RendererBackendType::Vulkan;

//runnerParams.remoteParams.enableRemoting = true;
runnerParams.dpiAwareParams.dpiWindowSizeFactor = 1.0f;
runnerParams.dpiAwareParams.fontRenderingScale = 1.0f;

HelloImGui::Run(runnerParams); // Note: with ImGuiBundle, it is also possible to use ImmApp::Run(...)

return 0;
Expand Down

0 comments on commit 5a07c12

Please sign in to comment.