#ifdef STANDALONE
# define MODE_sphere
-#define DEFAULTS "*delay: 1000 \n" \
+#define DEFAULTS "*delay: 20000 \n" \
"*cycles: 20 \n" \
"*size: 0 \n" \
- "*ncolors: 64 \n"
+ "*ncolors: 64 \n" \
+ "*fpsSolid: true \n" \
+
# define BRIGHT_COLORS
# define reshape_sphere 0
# define sphere_handle_event 0
{
spherestruct *sp;
- if (spheres == NULL) {
- if ((spheres = (spherestruct *) calloc(MI_NUM_SCREENS(mi),
- sizeof (spherestruct))) == NULL)
- return;
- }
+ MI_INIT (mi, spheres, 0);
sp = &spheres[MI_SCREEN(mi)];
if (sp->points != NULL) {