http://www.jwz.org/xscreensaver/xscreensaver-5.12.tar.gz
[xscreensaver] / hacks / metaballs.c
index 2eb5ed4ad27d2660a38259d3a1d0c326aa227224..0e46de67203f65a2bbbf827ab0be849d683b4c04 100644 (file)
@@ -200,7 +200,7 @@ static void Initialize( struct state *st )
 {
        XGCValues gcValues;
        XWindowAttributes XWinAttribs;
-       int iBitsPerPixel, i, j;
+       int /*iBitsPerPixel,*/ i, j;
        unsigned int distance_squared;
        float fraction;
 
@@ -208,6 +208,7 @@ static void Initialize( struct state *st )
        XGetWindowAttributes( st->dpy, st->window, &XWinAttribs );
 
        /* Find the preferred bits-per-pixel. (jwz) */
+#if 0
        {
                int pfvc = 0;
                XPixmapFormatValues *pfv = XListPixmapFormats( st->dpy, &pfvc );
@@ -220,6 +221,7 @@ static void Initialize( struct state *st )
                if( pfv )
                        XFree (pfv);
        }
+#endif
 
        /*  Create the GC. */
        st->gc = XCreateGC( st->dpy, st->window, 0, &gcValues );
@@ -403,7 +405,7 @@ static const char *metaballs_defaults [] = {
   "*count:    10",
   "*cycles:   1000",
   "*ncolors:  256",
-  "*delay:    5000",
+  "*delay:    10000",
   "*radius:   100",
   "*delta:   3",
   0
@@ -421,7 +423,7 @@ static XrmOptionDescRec metaballs_options [] = {
 };
 
 
-XSCREENSAVER_MODULE ("Metaballs", metaballs)
+XSCREENSAVER_MODULE ("MetaBalls", metaballs)
 
 /* End of Module - "metaballs.c" */