aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/glWrapper.cpp
diff options
context:
space:
mode:
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)