adjust near clipping plane to give better depth buffer usage
This commit is contained in:
1 parent
f2377e6cb6
commit
e666943830
1 file changed
+1
-1
+1
-1
@@ -139,7 +139,7 @@ bool Tunnel::configure (GnomeScreensaver & gs)
|
|||||||
glMatrixMode(GL_PROJECTION);
|
glMatrixMode(GL_PROJECTION);
|
||||||
glLoadIdentity();
|
glLoadIdentity();
|
||||||
gluPerspective(60.0, gs.getAspectRatio() / gs.getNumMonitors(),
|
gluPerspective(60.0, gs.getAspectRatio() / gs.getNumMonitors(),
|
||||||
0.01, 1000.0);
|
1.0, 1000.0);
|
||||||
|
|
||||||
glMatrixMode(GL_MODELVIEW);
|
glMatrixMode(GL_MODELVIEW);
|
||||||
glLoadIdentity();
|
glLoadIdentity();
|
||||||
|
|||||||
Reference in new issue
Block a user