X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fstairs.c;h=bbfe5ff4a4aa8210d137b7b0c5970561b4edf698;hp=3216dd37b27c4b14443e2203e14a7c25ca07b1ee;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7 diff --git a/hacks/glx/stairs.c b/hacks/glx/stairs.c index 3216dd37..bbfe5ff4 100644 --- a/hacks/glx/stairs.c +++ b/hacks/glx/stairs.c @@ -298,6 +298,7 @@ draw_sphere(int pos, int tick) glMaterialfv(GL_FRONT_AND_BACK, GL_DIFFUSE, MaterialYellow); glDisable (GL_TEXTURE_2D); glShadeModel(GL_SMOOTH); + glFrontFace(GL_CW); polys += unit_sphere (32, 32, False); glShadeModel(GL_FLAT); glEnable (GL_TEXTURE_2D);