projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.18.tar.gz
[xscreensaver]
/
hacks
/
glx
/
jigglypuff.c
diff --git
a/hacks/glx/jigglypuff.c
b/hacks/glx/jigglypuff.c
index 67c2c4b19e42c41274512260d8ddda9701ae3b81..63b832947e63328a2143ff1ddf4857de0f2602f7 100644
(file)
--- a/
hacks/glx/jigglypuff.c
+++ b/
hacks/glx/jigglypuff.c
@@
-990,7
+990,11
@@
ENTRYPOINT void draw_jigglypuff(ModeInfo *mi)
js->axis -= 2*M_PI;
}
}
js->axis -= 2*M_PI;
}
}
+
+ /* Do it twice because we don't track the device's orientation. */
+ glRotatef( current_device_rotation(), 0, 0, 1);
gltrackball_rotate(js->trackball);
gltrackball_rotate(js->trackball);
+ glRotatef(-current_device_rotation(), 0, 0, 1);
if(js->color_style == COLOR_STYLE_CYCLE) {
int i;
if(js->color_style == COLOR_STYLE_CYCLE) {
int i;