Skip to content

Commit

Permalink
Debug info / GlfwWindowHelper::GetWindowSizeDpiScaleFactor
Browse files Browse the repository at this point in the history
  • Loading branch information
pthom committed Apr 11, 2024
1 parent 465c0b3 commit 36c4544
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ namespace HelloImGui { namespace BackendApi
return 1.f;
#else
ImVec2 scale = GetDisplayFramebufferScale(window);
printf("GlfwWindowHelper::GetWindowSizeDpiScaleFactor: %f, %f\n", scale.x, scale.y);
return scale.x;
#endif
}
Expand Down

0 comments on commit 36c4544

Please sign in to comment.