{
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 );
if( pfv )
XFree (pfv);
}
+#endif
/* Create the GC. */
st->gc = XCreateGC( st->dpy, st->window, 0, &gcValues );
else if( st->iDegreeCount > 5400 ) st->iDegreeCount = 5400;
CreateTables( st, st->iDegreeCount );
#ifdef VERBOSE
- printf( "%s: Using a %d degree circle.\n", progname );
+ printf( "%s: Using a %d degree circle.\n", progname, st->iDegreeCount );
#endif /* VERBOSE */
/* Get the base color. */
for( st->iShadeBob=0; st->iShadeBob<st->nShadeBobCount; st->iShadeBob++ )
Execute( st, &st->aShadeBobs[ st->iShadeBob ] );
-#ifdef VERBOSE
- iFrame++;
- if( nTime - time( NULL ) )
- {
- printf( "%s: %d FPS\n", progname, iFrame );
- nTime = time( NULL );
- iFrame = 0;
- }
-#endif /* VERBOSE */
-
return st->delay;
}