adjust near clipping plane to give better depth buffer usage

This commit is contained in:
Josh Holtrop 2011-10-26 15:12:01 -04:00
parent f2377e6cb6
commit e666943830

View File

@ -139,7 +139,7 @@ bool Tunnel::configure (GnomeScreensaver & gs)
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluPerspective(60.0, gs.getAspectRatio() / gs.getNumMonitors(),
0.01, 1000.0);
1.0, 1000.0);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();