projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.37.tar.gz
[xscreensaver]
/
hacks
/
spiral.c
diff --git
a/hacks/spiral.c
b/hacks/spiral.c
index 5f886df0d6e248a69c0c967ef94fa1035bda8901..fc73104ca7800d141d03dadfa0b3caee23b4870f 100644
(file)
--- a/
hacks/spiral.c
+++ b/
hacks/spiral.c
@@
-38,7
+38,9
@@
static const char sccsid[] = "@(#)spiral.c 5.00 2000/11/01 xlockmore";
#define DEFAULTS "*delay: 50000 \n" \
"*count: 40 \n" \
"*cycles: 350 \n" \
#define DEFAULTS "*delay: 50000 \n" \
"*count: 40 \n" \
"*cycles: 350 \n" \
- "*ncolors: 64 \n"
+ "*ncolors: 64 \n" \
+ "*fpsSolid: true \n" \
+
# define SMOOTH_COLORS
# define reshape_spiral 0
# define spiral_handle_event 0
# define SMOOTH_COLORS
# define reshape_spiral 0
# define spiral_handle_event 0
@@
-125,14
+127,10
@@
init_spiral(ModeInfo * mi)
spiralstruct *sp;
int i;
spiralstruct *sp;
int i;
- if (spirals == NULL) {
- if ((spirals = (spiralstruct *) calloc(MI_NUM_SCREENS(mi),
- sizeof (spiralstruct))) == NULL)
- return;
- }
+ MI_INIT (mi, spirals, 0);
sp = &spirals[MI_SCREEN(mi)];
sp = &spirals[MI_SCREEN(mi)];
-#ifdef HAVE_
COCOA
+#ifdef HAVE_
JWXYZ
jwxyz_XSetAntiAliasing (MI_DISPLAY(mi), MI_GC(mi), False);
#endif
jwxyz_XSetAntiAliasing (MI_DISPLAY(mi), MI_GC(mi), False);
#endif