summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 7825a2d..e79ae09 100644
--- a/src/main.c
+++ b/src/main.c
@@ -55,7 +55,7 @@ void on_reshape(int w, int h)
// Set up the Projection transformation
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
- gluPerspective(90, (GLfloat)w/(GLfloat)h, 0.0, 5.0);
+ gluPerspective(90, (GLfloat)w/(GLfloat)h, 0.0001, 1000.0);
// Switch to Model/view transformation for drawing objects
glMatrixMode(GL_MODELVIEW);