update gluPerspective to have more resolution in depth plane
This commit is contained in:
1 parent
743a964dd3
commit
937bd8cdf4
1 file changed
+1
-1
+1
-1
@@ -62,7 +62,7 @@ bool Starfield::configure (GnomeScreensaver & gs)
|
||||
{
|
||||
glMatrixMode(GL_PROJECTION);
|
||||
glLoadIdentity();
|
||||
gluPerspective(60.0, gs.getAspectRatio(), 0.01, MAX_STAR_DIST);
|
||||
gluPerspective(60.0, gs.getAspectRatio(), 1.0, MAX_STAR_DIST);
|
||||
|
||||
glMatrixMode(GL_MODELVIEW);
|
||||
glLoadIdentity();
|
||||
|
||||
Reference in new issue
Block a user