Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/ngscopeclient/VulkanWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,8 @@ VulkanWindow::VulkanWindow(const string& title, shared_ptr<QueueHandle> queue)

//WORKAROUND: handle HiDPI correctly on macOS.
//This is probably wrong, per comment in imgui_impl_glfw "Apple platforms use FramebufferScale"
#ifdef __APPLE__
io.FontGlobalScale = 1.0f / scale;
#else
//On macOS, setting FontScaleMain appears to double the scaling
#ifndef __APPLE__
ImGui::GetStyle().FontScaleMain = scale;
#endif

Expand Down
Loading