Stop logging fps statistics twice on quit (#13369)

This commit is contained in:
Tony 2021-12-17 17:06:15 +02:00 committed by GitHub
parent 2c7d2bcc18
commit 6ee92d8583
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1528,7 +1528,8 @@ VIDEO_DRIVER_IS_THREADED_INTERNAL(video_st);
return;
#endif
video_monitor_compute_fps_statistics(video_st->frame_time_count);
if (video_st->data)
video_monitor_compute_fps_statistics(video_st->frame_time_count);
}
void video_driver_set_viewport_config(