Refactor set_refresh functions somewhat
This commit is contained in:
parent
d405d34c0e
commit
5479bae312
12 changed files with 37 additions and 52 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue