projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://www.jwz.org/xscreensaver/xscreensaver-5.09.tar.gz
[xscreensaver]
/
hacks
/
shadebobs.c
diff --git
a/hacks/shadebobs.c
b/hacks/shadebobs.c
index 5b26950a42003ec13f5942520c34e25fab7fae5f..39040ea377c66067619ea4bdc19932c23226d90a 100644
(file)
--- a/
hacks/shadebobs.c
+++ b/
hacks/shadebobs.c
@@
-344,7
+344,7
@@
static void Initialize( struct state *st )
else if( st->iDegreeCount > 5400 ) st->iDegreeCount = 5400;
CreateTables( st, st->iDegreeCount );
#ifdef VERBOSE
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. */
#endif /* VERBOSE */
/* Get the base color. */
@@
-425,16
+425,6
@@
shadebobs_draw (Display *dpy, Window window, void *closure)
for( st->iShadeBob=0; st->iShadeBob<st->nShadeBobCount; st->iShadeBob++ )
Execute( st, &st->aShadeBobs[ st->iShadeBob ] );
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;
}
return st->delay;
}