summaryrefslogtreecommitdiffstats
path: root/hacks/polyominoes.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/polyominoes.c
parentMaybe not remove, but ... (diff)
downloadxscreensaver-openslx.tar.gz
xscreensaver-openslx.tar.xz
xscreensaver-openslx.zip
xscreensaver 6.00v28r1openslx
Diffstat (limited to 'hacks/polyominoes.c')
-rw-r--r--hacks/polyominoes.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/hacks/polyominoes.c b/hacks/polyominoes.c
index b87c3d3..0ae5366 100644
--- a/hacks/polyominoes.c
+++ b/hacks/polyominoes.c
@@ -55,9 +55,6 @@ static const char sccsid[] = "@(#)polyominoes.c 5.01 2000/12/18 xlockmore";
static Bool identical;
static Bool plain;
-#undef countof
-#define countof(x) (sizeof((x))/sizeof((*x)))
-
static XrmOptionDescRec opts[] =
{
{"-identical", ".polyominoes.identical", XrmoptionNoArg, "on"},
@@ -975,6 +972,10 @@ static void create_bitmaps(ModeInfo * mi, polyominoesstruct *sp)
}
sp->use_bitmaps = 1;
+
+#ifdef HAVE_ANDROID /* Doesn't work -- displays black */
+ sp->use_bitmaps = 0;
+#endif
}
static void draw_with_bitmaps(ModeInfo * mi, polyominoesstruct *sp)