Skip to content

Commit

Permalink
Remove another unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
AI0867 committed Aug 31, 2017
1 parent 2d6c81b commit 05a5494
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/display.cpp
Expand Up @@ -1365,8 +1365,6 @@ void display::update_display()
++frames;
const int sample_freq = 10;
if(frames == sample_freq) {
const int this_sample = SDL_GetTicks();

const int fps = 1000 / *std::max_element(frametimes_.begin(), frametimes_.end());
frames = 0;

Expand Down

0 comments on commit 05a5494

Please sign in to comment.