projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.13.tar.gz
[xscreensaver]
/
hacks
/
glx
/
extrusion.c
diff --git
a/hacks/glx/extrusion.c
b/hacks/glx/extrusion.c
index 6637512f6b20dc55b66b4f13993f38c3132ccd13..ca5a18262fd423588d074320bb357387bf65f7dd 100644
(file)
--- a/
hacks/glx/extrusion.c
+++ b/
hacks/glx/extrusion.c
@@
-438,7
+438,6
@@
initializeGL(ModeInfo *mi, GLsizei width, GLsizei height)
glViewport( 0, 0, width, height );
glEnable(GL_DEPTH_TEST);
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);
glDisable (GL_CULL_FACE);
glLightModeli (GL_LIGHT_MODEL_TWO_SIDE, True);
glShadeModel(GL_SMOOTH);
@@
-477,7
+476,9
@@
extrusion_handle_event (ModeInfo *mi, XEvent *event)
if (event->xany.type == ButtonPress &&
(event->xbutton.button == Button4 ||
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);
{
gltrackball_mousewheel (gp->trackball, event->xbutton.button, 10,
!!event->xbutton.state);