From 937bd8cdf47d3b1db96f9fa035e199ab744c8ada Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Thu, 24 Mar 2011 14:30:47 -0400 Subject: [PATCH] update gluPerspective to have more resolution in depth plane --- modes/Starfield.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modes/Starfield.cc b/modes/Starfield.cc index 9b0aa19..2fbb5ab 100644 --- a/modes/Starfield.cc +++ b/modes/Starfield.cc @@ -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();