Skip to content

Commit

Permalink
Remove menu_shader_free
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed May 23, 2016
1 parent 86ef11e commit c72222b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions menu/menu_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
5 changes: 0 additions & 5 deletions menu/menu_shader.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
2 changes: 0 additions & 2 deletions menu/menu_shader.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c72222b

Please sign in to comment.