aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/Common/UI/UIControl_EnchantmentBook.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/Common/UI/UIControl_EnchantmentBook.cpp')
-rw-r--r--Minecraft.Client/Common/UI/UIControl_EnchantmentBook.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/Minecraft.Client/Common/UI/UIControl_EnchantmentBook.cpp b/Minecraft.Client/Common/UI/UIControl_EnchantmentBook.cpp
index ef7c0e94..9664dbf4 100644
--- a/Minecraft.Client/Common/UI/UIControl_EnchantmentBook.cpp
+++ b/Minecraft.Client/Common/UI/UIControl_EnchantmentBook.cpp
@@ -34,9 +34,7 @@ void UIControl_EnchantmentBook::render(IggyCustomDrawCallbackRegion *region)
glTranslatef(m_width/2, m_height/2, 50.0f);
// Add a uniform scale
- glScalef(1/ssX, 1/ssX, 1.0f);
-
- glScalef(50.0f,50.0f,1.0f);
+ glScalef(-57/ssX, 57/ssX, 360.0f);
glRotatef(45 + 90, 0, 1, 0);
Lighting::turnOn();