From http://www.jwz.org/xscreensaver/xscreensaver-5.33.tar.gz
[xscreensaver] / hacks / glx / noof.c
index ee2810b36b7b214e51027f7f8454e49af8af5012..4ca77679f8f19feabb577174e712fa64a0ed247b 100644 (file)
@@ -27,9 +27,7 @@
 
 #define N_SHAPES 7
 
-/* For some reason this hack screws up on Cocoa if we try to double-buffer it.
-   It looks fine single-buffered, so let's just do that. */
-static int dbuf_p = 0;
+static int dbuf_p = 1;  /* always */
 
 ENTRYPOINT ModeSpecOpt noof_opts = {0, NULL, 0, NULL, NULL};
 
@@ -445,10 +443,6 @@ init_noof (ModeInfo *mi)
   int i;
   noof_configuration *bp;
 
-#ifdef HAVE_JWZGLES
-  dbuf_p = 1;
-#endif
-
   if (!bps) {
     bps = (noof_configuration *)
       calloc (MI_NUM_SCREENS(mi), sizeof (noof_configuration));