X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fantmaze.c;h=a66c4b5c0b6b3a1741a606beabc5d1d42394566a;hp=6258fb9e6603663a7e5ae54ac9f9be1622530589;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/glx/antmaze.c b/hacks/glx/antmaze.c index 6258fb9e..a66c4b5c 100644 --- 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 */ -#ifdef HAVE_COCOA +#ifdef HAVE_JWXYZ # include "jwxyz.h" #else # include @@ -1422,6 +1422,7 @@ ENTRYPOINT void init_antmaze(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) || @@ -1430,6 +1431,7 @@ device_rotate(ModeInfo *mi) GLfloat s = MI_HEIGHT(mi) / (GLfloat) MI_WIDTH(mi); glScalef (1/s, s, 1); } +#endif }