# define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
# endif
+#define DEF_ROTATE "True"
static int rotate;
#define QW 12
static argtype vars[] = {
- {&rotate, "rotate", "Rotate", "True", t_Bool},
+ {&rotate, "rotate", "Rotate", DEF_ROTATE, t_Bool},
};
}
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 (c->trackball, event->xbutton.button, 10,
!!event->xbutton.state);
c->show_colors[0] = c->show_colors[1] =
c->show_colors[2] = c->show_colors[3] = 1;
- glClearColor(0.0,0.0,0.0,0.0);
-
if (! MI_IS_WIREFRAME(mi))
{
glShadeModel(GL_SMOOTH);