mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-09 18:20:42 +00:00
Changing filters requires driver reinit.
This commit is contained in:
parent
4913683462
commit
e780c1fed1
@ -1362,8 +1362,7 @@ static int menu_common_iterate(void *data, unsigned action)
|
||||
{
|
||||
fill_pathname_join(g_settings.video.filter_path, dir, path, sizeof(g_settings.video.filter_path));
|
||||
#ifdef HAVE_DYLIB
|
||||
rarch_deinit_filter();
|
||||
rarch_init_filter(g_extern.system.pix_fmt);
|
||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
||||
#endif
|
||||
menu_flush_stack_type(rgui, RGUI_SETTINGS_VIDEO_OPTIONS);
|
||||
}
|
||||
|
@ -783,8 +783,8 @@ int menu_set_settings(void *data, unsigned setting, unsigned action)
|
||||
rgui->need_refresh = true;
|
||||
break;
|
||||
case RGUI_ACTION_START:
|
||||
rarch_deinit_filter();
|
||||
strlcpy(g_settings.video.filter_path, "", sizeof(g_settings.video.filter_path));
|
||||
rarch_set_fullscreen(g_settings.video.fullscreen);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user