X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fshadebobs.c;h=881740c9996ed97fc30fbadae4b5b3f838928c4b;hp=39040ea377c66067619ea4bdc19932c23226d90a;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hpb=5f1f12f2a37da634000f96d18d59cc73a8814ef7 diff --git a/hacks/shadebobs.c b/hacks/shadebobs.c index 39040ea3..881740c9 100644 --- a/hacks/shadebobs.c +++ b/hacks/shadebobs.c @@ -296,12 +296,13 @@ static void Initialize( struct state *st ) { XGCValues gcValues; XWindowAttributes XWinAttribs; - int iBitsPerPixel; + /*int iBitsPerPixel;*/ /* Create the Image for drawing */ XGetWindowAttributes( st->dpy, st->window, &XWinAttribs ); - /* Find the preferred bits-per-pixel. (jwz) */ +#if 0 + /* Find the preferred bits-per-pixel. (jwz) */ { int i, pfvc = 0; XPixmapFormatValues *pfv = XListPixmapFormats( st->dpy, &pfvc ); @@ -314,6 +315,7 @@ static void Initialize( struct state *st ) if( pfv ) XFree (pfv); } +#endif /* Create the GC. */ st->gc = XCreateGC( st->dpy, st->window, 0, &gcValues );