X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fmetaballs.c;h=0e46de67203f65a2bbbf827ab0be849d683b4c04;hp=a7a0591d0e32c9109bb896b7857fa0deb6a7c2e1;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7 diff --git a/hacks/metaballs.c b/hacks/metaballs.c index a7a0591d..0e46de67 100644 --- a/hacks/metaballs.c +++ b/hacks/metaballs.c @@ -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 );