From http://www.jwz.org/xscreensaver/xscreensaver-5.20.tar.gz
[xscreensaver] / hacks / demon.c
index 3d35dca5aef3b6f52cddbdf4a2f287c975b1fd4a..c9a15e25c711d51d47cf89c2d1f0a2cb042a351e 100644 (file)
@@ -165,7 +165,6 @@ drawcell(ModeInfo * mi, int col, int row, unsigned char state)
                gc = MI_GC(mi);
        } else {
                XGCValues   gcv;
-
 #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);
 
+#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];