adjust near clipping plane to give better depth buffer usage
This commit is contained in:
parent
f2377e6cb6
commit
e666943830
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user