mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 04:20:28 +00:00
Remove menu_shader_free
This commit is contained in:
parent
86ef11e756
commit
c72222b572
@ -545,10 +545,10 @@ bool menu_driver_ctl(enum rarch_menu_ctl_state state, void *data)
|
||||
menu_driver_ctl(RARCH_MENU_CTL_CONTEXT_DESTROY, NULL);
|
||||
if (menu_driver_ctl(RARCH_MENU_CTL_OWNS_DRIVER, NULL))
|
||||
return true;
|
||||
menu_driver_ctl(RARCH_MENU_CTL_PLAYLIST_FREE, NULL);
|
||||
menu_driver_ctl(RARCH_MENU_CTL_SHADER_DEINIT, NULL);
|
||||
if (menu_driver_data)
|
||||
{
|
||||
menu_driver_ctl(RARCH_MENU_CTL_PLAYLIST_FREE, NULL);
|
||||
menu_shader_free(menu_driver_data);
|
||||
menu_input_ctl(MENU_INPUT_CTL_DEINIT, NULL);
|
||||
menu_navigation_ctl(MENU_NAVIGATION_CTL_DEINIT, NULL);
|
||||
|
||||
|
@ -418,8 +418,3 @@ void menu_shader_manager_apply_changes(void)
|
||||
menu_shader_manager_set_preset(NULL, shader_type, NULL);
|
||||
#endif
|
||||
}
|
||||
|
||||
void menu_shader_free(menu_handle_t *menu)
|
||||
{
|
||||
menu_driver_ctl(RARCH_MENU_CTL_SHADER_DEINIT, NULL);
|
||||
}
|
||||
|
@ -70,8 +70,6 @@ unsigned menu_shader_manager_get_type(
|
||||
**/
|
||||
void menu_shader_manager_apply_changes(void);
|
||||
|
||||
void menu_shader_free(menu_handle_t *menu);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user