mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-17 21:44:20 +01:00
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:
@@ -517,7 +517,7 @@ input_manager_process_key(struct input_manager *im,
|
||||
return;
|
||||
case SDLK_i:
|
||||
if (!shift && !repeat && down) {
|
||||
switch_fps_counter_state(im->fps_counter);
|
||||
switch_fps_counter_state(&im->screen->fps_counter);
|
||||
}
|
||||
return;
|
||||
case SDLK_n:
|
||||
|
||||
Reference in New Issue
Block a user