X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fstairs.c;h=9381f6fadae7246c78943d50e2e4ef1cb367e78e;hp=bbfe5ff4a4aa8210d137b7b0c5970561b4edf698;hb=5f9c47ca98dd43d8f59b7c27d3fde6edfde4fe21;hpb=50be9bb40dc60130c99ffa568e6677779904ff70 diff --git a/hacks/glx/stairs.c b/hacks/glx/stairs.c index bbfe5ff4..9381f6fa 100644 --- a/hacks/glx/stairs.c +++ b/hacks/glx/stairs.c @@ -298,7 +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); + glFrontFace(GL_CCW); polys += unit_sphere (32, 32, False); glShadeModel(GL_FLAT); glEnable (GL_TEXTURE_2D); @@ -391,8 +391,6 @@ pinit(void) { int status; glClearDepth(1.0); - glClearColor(0.0, 0.0, 0.0, 1.0); - glLightfv(GL_LIGHT0, GL_AMBIENT, ambient); glLightfv(GL_LIGHT0, GL_DIFFUSE, diffuse); glLightfv(GL_LIGHT0, GL_POSITION, position0);