mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
menu_action.c - Fix 'declaration shadows global variable'
This commit is contained in:
parent
b16ce98e34
commit
ffb9047961
@ -110,13 +110,13 @@ int menu_action_setting_fraction(
|
||||
break;
|
||||
case MENU_ACTION_OK:
|
||||
{
|
||||
double refresh_rate, deviation = 0.0;
|
||||
double video_refresh_rate, deviation = 0.0;
|
||||
unsigned sample_points = 0;
|
||||
|
||||
if (driver_monitor_fps_statistics(&refresh_rate,
|
||||
if (driver_monitor_fps_statistics(&video_refresh_rate,
|
||||
&deviation, &sample_points))
|
||||
{
|
||||
driver_set_monitor_refresh_rate(refresh_rate);
|
||||
driver_set_monitor_refresh_rate(video_refresh_rate);
|
||||
/* Incase refresh rate update forced non-block video. */
|
||||
rarch_main_command(RARCH_CMD_VIDEO_SET_BLOCKING_STATE);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user