Skip to content

Commit

Permalink
Additional guards in draw_benchmark debug function
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg committed Jan 24, 2019
1 parent d9b52e7 commit 05e443d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/debug_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,11 @@ void draw_benchmark( const int max_difference )
"\n| USE_TILES | RENDERER | FRAMEBUFFER_ACCEL | USE_COLOR_MODULATED_TEXTURES | FPS |" <<
"\n|:---:|:---:|:---:|:---:|:---:|\n| " <<
get_option<bool>( "USE_TILES" ) << " | " <<
#ifndef __ANDROID__
get_option<std::string>( "RENDERER" ) << " | " <<
#else
get_option<bool>( "SOFTWARE_RENDERING" ) << " | " <<
#endif
get_option<bool>( "FRAMEBUFFER_ACCEL" ) << " | " <<
get_option<bool>( "USE_COLOR_MODULATED_TEXTURES" ) << " | " <<
int( 1000.0 * draw_counter / ( double )difference ) << " |\n";
Expand Down

0 comments on commit 05e443d

Please sign in to comment.