mirror of
https://github.com/wolfpld/tracy
synced 2026-01-19 04:52:09 +00:00
fix: 2x scaling on macos with ImGui 1.92
This commit is contained in:
@@ -164,12 +164,12 @@ static void SetupDPIScale()
|
||||
dpiFirstSetup = false;
|
||||
dpiChanged = 2;
|
||||
|
||||
LoadFonts( scale );
|
||||
|
||||
#ifdef __APPLE__
|
||||
scale = 1.0f;
|
||||
scale = tracy::s_config.userScale;
|
||||
#endif
|
||||
|
||||
LoadFonts( scale );
|
||||
|
||||
auto& style = ImGui::GetStyle();
|
||||
style = ImGuiStyle();
|
||||
ImGui::StyleColorsDark();
|
||||
|
||||
Reference in New Issue
Block a user