summaryrefslogtreecommitdiffstats
path: root/hacks/glx/dymaxionmap.c
diff options
context:
space:
mode:
authorSimon Rettberg2021-04-06 14:43:39 +0200
committerSimon Rettberg2021-04-07 13:38:37 +0200
commit38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch)
tree9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/glx/dymaxionmap.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-openslx.tar.gz
xscreensaver-openslx.tar.xz
xscreensaver-openslx.zip
xscreensaver 6.00v28r1openslx
Diffstat (limited to 'hacks/glx/dymaxionmap.c')
-rw-r--r--hacks/glx/dymaxionmap.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/hacks/glx/dymaxionmap.c b/hacks/glx/dymaxionmap.c
index 41de703..1527daa 100644
--- a/hacks/glx/dymaxionmap.c
+++ b/hacks/glx/dymaxionmap.c
@@ -14,7 +14,7 @@
* other special, indirect and consequential damages.
*/
-#define LABEL_FONT "-*-helvetica-bold-r-normal-*-*-240-*-*-*-*-*-*"
+#define LABEL_FONT "sans-serif bold 24"
#ifdef STANDALONE
#define DEFAULTS "*delay: 20000 \n" \
@@ -34,14 +34,6 @@
#include "texfont.h"
#include "dymaxionmap-coords.h"
-#ifdef HAVE_XMU
-# ifndef VMS
-# include <X11/Xmu/Drawing.h>
-#else /* VMS */
-# include <Xmu/Drawing.h>
-# endif /* VMS */
-#endif
-
#define DEF_ROTATE "True"
#define DEF_ROLL "True"
#define DEF_WANDER "True"
@@ -53,9 +45,6 @@
#define DEF_IMAGE2 "NONE"
#define DEF_FRAMES "720"
-#undef countof
-#define countof(x) (sizeof((x))/sizeof((*x)))
-
#undef BELLRAND
#define BELLRAND(n) ((frand((n)) + frand((n)) + frand((n))) / 3)
#undef RANDSIGN
@@ -468,7 +457,8 @@ load_images (ModeInfo *mi)
# ifdef HAVE_MOBILE
unsigned long max = 320 * 1024 * 1024L; /* 320 MB */
# else
- unsigned long max = 2 * 1024 * 1024 * 1024L; /* 2 GB */
+ /*unsigned long max = 2 * 1024 * 1024 * 1024L;*/ /* 2 GB */
+ unsigned long max = 0x80000000L; /* 2 GB */
# endif
gp->cache_p = (cache_size < max);
}