# define DEFAULTS "*delay: 40000 \n" \
"*count: 10 \n" \
"*cycles: 200 \n" \
- "*ncolors: 64 \n"
+ "*ncolors: 64 \n" \
+ "*fpsSolid: true \n" \
+
# define BRIGHT_COLORS
# define reshape_laser 0
# define laser_handle_event 0
int i, c = 0;
lasersstruct *lp;
- if (lasers == NULL) {
- if ((lasers = (lasersstruct *) calloc(MI_NUM_SCREENS(mi),
- sizeof (lasersstruct))) == NULL)
- return;
- }
+ MI_INIT (mi, lasers, 0);
lp = &lasers[MI_SCREEN(mi)];
lp->width = MI_WIDTH(mi);
free_laser(display, lp);
return;
}
-# ifdef HAVE_COCOA
+# ifdef HAVE_JWXYZ
jwxyz_XSetAntiAliasing (MI_DISPLAY(mi), lp->stippledGC, False);
# endif
}