diff --git a/Minecraft.Client/Common/UI/UIController.cpp b/Minecraft.Client/Common/UI/UIController.cpp index 781d0f37..ada6ae3d 100644 --- a/Minecraft.Client/Common/UI/UIController.cpp +++ b/Minecraft.Client/Common/UI/UIController.cpp @@ -182,8 +182,8 @@ UIController::UIController() // 4J Stu - This is a bit of a hack until we change the Minecraft initialisation to store the proper screen size for other platforms #if defined _DURANGO || defined __ORBIS__ - m_fScreenWidth = 1920; - m_fScreenHeight = 1080; + m_fScreenWidth = 1920.0f; + m_fScreenHeight = 1080.0f; m_bScreenWidthSetup = true; #elif _WINDOWS64 m_fScreenWidth = g_iScreenWidth;