From a92a298684d6e6d497ab7bef98ff1e380a707503 Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 5 Sep 2026 19:52:33 +0200 Subject: feat: ui refactor of doom and despair --- src/core/window.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/core/window.cpp') diff --git a/src/core/window.cpp b/src/core/window.cpp index a87798a..73a57ad 100644 --- a/src/core/window.cpp +++ b/src/core/window.cpp @@ -63,12 +63,16 @@ namespace Hsdbg m_framebuffer_width = static_cast(framebuffer_width); m_framebuffer_height = static_cast(framebuffer_height); - Log::info("window '{}' created at {}x{} ({}x{} framebuffer)", + float content_scale = 1.0f; + glfwGetWindowContentScale(m_handle, &content_scale, nullptr); + + Log::info("window '{}' created at {}x{} ({}x{} framebuffer, {}x content scale)", m_title, m_width, m_height, m_framebuffer_width, - m_framebuffer_height); + m_framebuffer_height, + content_scale); } Window::~Window() -- cgit v1.3