Refactor set_refresh functions somewhat

This commit is contained in:
twinaphex 2015-08-21 18:44:14 +02:00
parent d405d34c0e
commit 5479bae312
12 changed files with 37 additions and 52 deletions

View file

@ -209,7 +209,7 @@ static int action_start_shader_num_passes(unsigned type, const char *label)
if (shader->passes)
shader->passes = 0;
menu_entries_set_refresh();
menu_entries_set_refresh(false);
video_shader_resolve_parameters(NULL, menu->shader);
#endif
return 0;
@ -225,7 +225,7 @@ static int action_start_cheat_num_passes(unsigned type, const char *label)
if (cheat->size)
{
menu_entries_set_refresh();
menu_entries_set_refresh(false);
cheat_manager_realloc(cheat, 0);
}