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.35.tar.gz
[xscreensaver]
/
hacks
/
glx
/
boing.c
diff --git
a/hacks/glx/boing.c
b/hacks/glx/boing.c
index 91fd6383fbcdf0694a2c5f362e3f5c1d6c43ceeb..0ba3d913199c0d93a516ff940c5305ffb02c23e4 100644
(file)
--- a/
hacks/glx/boing.c
+++ b/
hacks/glx/boing.c
@@
-611,12
+611,14
@@
draw_boing (ModeInfo *mi)
{
double rot = current_device_rotation();
glRotatef(rot, 0, 0, 1);
+/*
if ((rot > 45 && rot < 135) ||
(rot < -45 && rot > -135))
{
GLfloat s = MI_WIDTH(mi) / (GLfloat) MI_HEIGHT(mi);
glScalef (1/s, s, 1);
}
+*/
}
gltrackball_rotate (bp->trackball);