X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fripples.c;h=eded66ee4d73c3f224dd9e1f9bbeb419d1c9f633;hp=fd7e4fa79920f15eefc98f39b3afb7c2f6017090;hb=06e9a7886a77cad92f9ddbc169d6d199a4d8b76d;hpb=14463b6ad1ab1ccf81f9c33350b048e410ba94cb diff --git a/hacks/ripples.c b/hacks/ripples.c index fd7e4fa7..eded66ee 100644 --- a/hacks/ripples.c +++ b/hacks/ripples.c @@ -84,8 +84,11 @@ static void (*draw_transparent)(short *src); /* How hard to hit the water */ #define SPLASH 512 +#undef MIN #define MIN(x, y) ((x) < (y) ? (x) : (y)) +#undef MAX #define MAX(x, y) ((x) > (y) ? (x) : (y)) +#undef DIRTY #define DIRTY 3 /* dirty >= 2, 1 = restore original pixel, 0 = leave alone */ /* From fortune(6) */