diff --git a/src/hello_imgui/internal/backend_impls/backend_window_helper/glfw_window_helper.cpp b/src/hello_imgui/internal/backend_impls/backend_window_helper/glfw_window_helper.cpp index 7729d196..b04d7893 100644 --- a/src/hello_imgui/internal/backend_impls/backend_window_helper/glfw_window_helper.cpp +++ b/src/hello_imgui/internal/backend_impls/backend_window_helper/glfw_window_helper.cpp @@ -193,6 +193,7 @@ namespace HelloImGui { namespace BackendApi { float x_scale, y_scale; glfwGetWindowContentScale((GLFWwindow *) window, &x_scale, &y_scale); + printf("GlfwWindowHelper::GetDisplayFramebufferScale: %f, %f\n", x_scale, y_scale); return ImVec2(x_scale, y_scale); } @@ -202,7 +203,6 @@ 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 }