Remove menu_shader_free

This commit is contained in:
twinaphex 2016-05-23 17:49:22 +02:00
parent 86ef11e756
commit c72222b572
3 changed files with 2 additions and 9 deletions

View File

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

View File

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

View File

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