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.20.tar.gz
[xscreensaver]
/
hacks
/
demon.c
diff --git
a/hacks/demon.c
b/hacks/demon.c
index 3d35dca5aef3b6f52cddbdf4a2f287c975b1fd4a..c9a15e25c711d51d47cf89c2d1f0a2cb042a351e 100644
(file)
--- a/
hacks/demon.c
+++ b/
hacks/demon.c
@@
-165,7
+165,6
@@
drawcell(ModeInfo * mi, int col, int row, unsigned char state)
gc = MI_GC(mi);
} else {
XGCValues gcv;
gc = MI_GC(mi);
} else {
XGCValues gcv;
-
#ifdef DO_STIPPLE
gcv.stipple = dp->pixmaps[(state - 1) % (NUMSTIPPLES - 1)];
#endif /* DO_STIPPLE */
#ifdef DO_STIPPLE
gcv.stipple = dp->pixmaps[(state - 1) % (NUMSTIPPLES - 1)];
#endif /* DO_STIPPLE */
@@
-466,6
+465,10
@@
init_demon (ModeInfo * mi)
#endif /* DO_STIPPLE */
free_struct(dp);
#endif /* DO_STIPPLE */
free_struct(dp);
+#ifdef HAVE_COCOA
+ jwxyz_XSetAntiAliasing (MI_DISPLAY(mi), MI_GC(mi), False);
+#endif
+
for (nk = 0; nk < NEIGHBORKINDS; nk++) {
if (neighbors == plots[0][nk]) {
dp->neighbors = plots[0][nk];
for (nk = 0; nk < NEIGHBORKINDS; nk++) {
if (neighbors == plots[0][nk]) {
dp->neighbors = plots[0][nk];