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
/
antmaze.c
diff --git
a/hacks/glx/antmaze.c
b/hacks/glx/antmaze.c
index 6258fb9e6603663a7e5ae54ac9f9be1622530589..a66c4b5c0b6b3a1741a606beabc5d1d42394566a 100644
(file)
--- a/
hacks/glx/antmaze.c
+++ b/
hacks/glx/antmaze.c
@@
-31,7
+31,7
@@
static const char sccsid[] = "@(#)antmaze.c 5.01 2001/03/01 xlockmore";
# include "xlock.h" /* from the xlockmore distribution */
#endif /* !STANDALONE */
# include "xlock.h" /* from the xlockmore distribution */
#endif /* !STANDALONE */
-#ifdef HAVE_
COCOA
+#ifdef HAVE_
JWXYZ
# include "jwxyz.h"
#else
# include <X11/Xlib.h>
# include "jwxyz.h"
#else
# include <X11/Xlib.h>
@@
-1422,6
+1422,7
@@
ENTRYPOINT void init_antmaze(ModeInfo * mi)
static void
device_rotate(ModeInfo *mi)
{
static void
device_rotate(ModeInfo *mi)
{
+#if 0
GLfloat rot = current_device_rotation();
glRotatef(rot, 0, 0, 1);
if ((rot > 45 && rot < 135) ||
GLfloat rot = current_device_rotation();
glRotatef(rot, 0, 0, 1);
if ((rot > 45 && rot < 135) ||
@@
-1430,6
+1431,7
@@
device_rotate(ModeInfo *mi)
GLfloat s = MI_HEIGHT(mi) / (GLfloat) MI_WIDTH(mi);
glScalef (1/s, s, 1);
}
GLfloat s = MI_HEIGHT(mi) / (GLfloat) MI_WIDTH(mi);
glScalef (1/s, s, 1);
}
+#endif
}
}