aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/glWrapper.cpp
diff options
context:
space:
mode:
authorvoid_17 <heroerror3@gmail.com>2026-03-03 08:45:26 +0700
committervoid_17 <heroerror3@gmail.com>2026-03-03 08:45:26 +0700
commita5e3cb04b3fa2dba86fbb3ff84e5354ad530c14c (patch)
tree43e90ab7977890ff391c173c26e9cc1caf1c1a65 /Minecraft.Client/glWrapper.cpp
parent95d4d0a703f1a86fbb33087720b6bb8aac306592 (diff)
Remove #203 core code before a cleaner implementation
Diffstat (limited to 'Minecraft.Client/glWrapper.cpp')
-rw-r--r--Minecraft.Client/glWrapper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Minecraft.Client/glWrapper.cpp b/Minecraft.Client/glWrapper.cpp
index 5e0fab2c..93b13d40 100644
--- a/Minecraft.Client/glWrapper.cpp
+++ b/Minecraft.Client/glWrapper.cpp
@@ -53,8 +53,7 @@ extern UINT g_ScreenHeight;
void gluPerspective(float fovy, float aspect, float zNear, float zFar)
{
- float dynamicAspect = (float)g_ScreenWidth / (float)g_ScreenHeight;
- RenderManager.MatrixPerspective(fovy, dynamicAspect, zNear, zFar);
+ RenderManager.MatrixPerspective(fovy,aspect,zNear,zFar);
}
void glOrtho(float left,float right,float bottom,float top,float zNear,float zFar)