From 1657f16bc952e257c8d45601534bc2abe0217cb5 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Sun, 8 Mar 2026 17:22:31 +0000 Subject: [PATCH] Improve check --- Minecraft.Client/Common/UI/UIController.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Minecraft.Client/Common/UI/UIController.cpp b/Minecraft.Client/Common/UI/UIController.cpp index 4211f7a05..fc41657a6 100644 --- a/Minecraft.Client/Common/UI/UIController.cpp +++ b/Minecraft.Client/Common/UI/UIController.cpp @@ -1814,8 +1814,8 @@ GDrawTexture * RADLINK UIController::TextureSubstitutionCreateCallback ( void * #if defined _WINDOWS64 // Only set the size to 96x96 for 1080p on Windows - // This matches the logic defining m_loadedResolution in UIScene - if (uiController->getScreenHeight() > 720) + UIScene *scene = uiController->GetTopScene(0); + if (scene->getSceneResolution() == UIScene::eSceneResolution_1080) { *width = 96; *height = 96;