update gluPerspective to have more resolution in depth plane
This commit is contained in:
parent
743a964dd3
commit
937bd8cdf4
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user