Remove FPS counter on command line

- Don't show debug info by default
- Other minor formatting changes
This commit is contained in:
Sam Ellicott 2022-10-21 23:02:24 -04:00
parent ba996232a4
commit 9dc4b12708

View file

@ -173,7 +173,7 @@ double VisTimeEnd, VisTimeStart;
float sound[ SOUNDCBSIZE ];
int soundhead = 0;
int show_debug = 0;
int show_debug_basic = 1;
int show_debug_basic = 0;
int gKey = 0;
extern int force_white;
@ -312,8 +312,6 @@ void RegisterConstructorFunctions()
// Video Stuff
REGISTERnull();
REGISTERDisplayArray();
// REGISTERDisplayDMX();
// REGISTERDisplayFileWrite();
REGISTERDisplayHIDAPI();
REGISTERDisplayNetwork();
REGISTERDisplayOutDriver();
@ -328,7 +326,6 @@ void RegisterConstructorFunctions()
#endif
// Output stuff
// REGISTERDisplayUSB2812();
REGISTEROutputCells();
REGISTEROutputLinear();
REGISTEROutputProminent();
@ -629,9 +626,6 @@ int main( int argc, char **argv )
ThisTime = OGGetAbsoluteTime();
if ( ThisTime > LastFPSTime + 1 && showfps )
{
#ifndef ANDROID
printf( "FPS: %d\n", frames );
#endif
lastfps = frames;
frames = 0;
LastFPSTime += 1;