mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Buildfix for --disable-menu
This commit is contained in:
parent
bf35c1faf5
commit
a92943d66c
@ -203,8 +203,10 @@ bool menu_shader_manager_set_preset(struct video_shader *shader,
|
||||
ret = true;
|
||||
|
||||
end:
|
||||
command_event(CMD_EVENT_SHADER_PRESET_LOADED, NULL);
|
||||
#ifdef HAVE_MENU
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_SET_REFRESH, &refresh);
|
||||
#endif
|
||||
command_event(CMD_EVENT_SHADER_PRESET_LOADED, NULL);
|
||||
return ret;
|
||||
|
||||
clear:
|
||||
@ -546,7 +548,9 @@ int menu_shader_manager_clear_num_passes(struct video_shader *shader)
|
||||
|
||||
shader->passes = 0;
|
||||
|
||||
#ifdef HAVE_MENU
|
||||
menu_entries_ctl(MENU_ENTRIES_CTL_SET_REFRESH, &refresh);
|
||||
#endif
|
||||
|
||||
video_shader_resolve_parameters(NULL, shader);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user