mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
Get rid of early return in video_driver_build_info
This commit is contained in:
parent
326e1e3fac
commit
08e9f64e43
@ -2178,10 +2178,6 @@ bool video_driver_texture_unload(uintptr_t *id)
|
|||||||
void video_driver_build_info(video_frame_info_t *video_info)
|
void video_driver_build_info(video_frame_info_t *video_info)
|
||||||
{
|
{
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
|
||||||
if (!video_info)
|
|
||||||
return;
|
|
||||||
|
|
||||||
video_info->refresh_rate = settings->video.refresh_rate;
|
video_info->refresh_rate = settings->video.refresh_rate;
|
||||||
video_info->black_frame_insertion =
|
video_info->black_frame_insertion =
|
||||||
settings->video.black_frame_insertion;
|
settings->video.black_frame_insertion;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user