Move fps_counter to screen

The FPS counter specifically count frames from the screen video buffer,
so it is specific to the screen.
This commit is contained in:
Romain Vimont 2021-05-16 18:26:20 +02:00
commit e604e8a752
6 changed files with 48 additions and 34 deletions

View file

@ -14,7 +14,6 @@
struct input_manager {
struct controller *controller;
struct fps_counter *fps_counter;
struct screen *screen;
// SDL reports repeated events as a boolean, but Android expects the actual