From 497670c4c3a733dec7da70aec39a4e343d318d2c Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 2 Feb 2025 21:36:49 +0100 Subject: [PATCH] fix: Don't apply backing scale factor twice to splash screen --- main/gui/source/init/splash_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/gui/source/init/splash_window.cpp b/main/gui/source/init/splash_window.cpp index 71916339d..3df96d504 100644 --- a/main/gui/source/init/splash_window.cpp +++ b/main/gui/source/init/splash_window.cpp @@ -542,7 +542,7 @@ namespace hex::init { void WindowSplash::loadAssets() { // Load splash screen image from romfs - const auto backingScale = ImHexApi::System::getNativeScale() * ImHexApi::System::getBackingScaleFactor(); + const auto backingScale = ImHexApi::System::getNativeScale(); this->m_splashBackgroundTexture = ImGuiExt::Texture::fromSVG(romfs::get("splash_background.svg").span(), WindowSize.x * backingScale, WindowSize.y * backingScale, ImGuiExt::Texture::Filter::Linear); this->m_splashTextTexture = ImGuiExt::Texture::fromSVG(romfs::get("splash_text.svg").span(), WindowSize.x * backingScale, WindowSize.y * backingScale, ImGuiExt::Texture::Filter::Linear);