Changing filters requires driver reinit.

This commit is contained in:
Themaister 2014-04-15 12:25:41 +02:00
parent 4913683462
commit e780c1fed1
2 changed files with 2 additions and 3 deletions

View File

@ -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);
}

View File

@ -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;