X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fglx%2Fglplanet.c;h=1a884bf3cb5e71b7f6404fa19b69b76a4ac83cbb;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=a8f154700bd35d57e82b502d36eb5b704c1cade7;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/glx/glplanet.c b/hacks/glx/glplanet.c index a8f15470..1a884bf3 100644 --- a/hacks/glx/glplanet.c +++ b/hacks/glx/glplanet.c @@ -447,7 +447,9 @@ planet_handle_event (ModeInfo *mi, XEvent *event) } else if (event->xany.type == ButtonPress && (event->xbutton.button == Button4 || - event->xbutton.button == Button5)) + event->xbutton.button == Button5 || + event->xbutton.button == Button6 || + event->xbutton.button == Button7)) { gltrackball_mousewheel (gp->trackball, event->xbutton.button, 10, !!event->xbutton.state); @@ -553,6 +555,7 @@ init_planet (ModeInfo * mi) glPushMatrix (); glScalef (RADIUS, RADIUS, RADIUS); glRotatef (90, 1, 0, 0); + glFrontFace(GL_CW); unit_sphere (resolution, resolution, wire); mi->polygon_count += resolution*resolution; glPopMatrix ();