glViewport( 0, 0, width, height );
glEnable(GL_DEPTH_TEST);
- glClearColor(0,0,0,0);
glDisable (GL_CULL_FACE);
glLightModeli (GL_LIGHT_MODEL_TWO_SIDE, True);
glShadeModel(GL_SMOOTH);
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);