mirror of
https://github.com/Genymobile/scrcpy
synced 2025-09-01 06:45:40 +00: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