diff options
author | Simon Rettberg | 2021-04-06 14:43:39 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-07 13:38:37 +0200 |
commit | 38886de0c3e9ea5729ef23e4c653fa2822f52e8f (patch) | |
tree | 9b799c8c968a92cc77746a95e0e8bdd90b6b13c3 /hacks/polyominoes.c | |
parent | Maybe not remove, but ... (diff) | |
download | xscreensaver-openslx.tar.gz xscreensaver-openslx.tar.xz xscreensaver-openslx.zip |
Diffstat (limited to 'hacks/polyominoes.c')
-rw-r--r-- | hacks/polyominoes.c | 7 |
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) |