(menu_shader.c) Cleanup

This commit is contained in:
twinaphex 2016-12-24 23:06:27 +01:00
parent ad0707d289
commit 42ffa50758

View File

@ -224,17 +224,10 @@ bool menu_shader_manager_save_preset(
bool ret = false;
struct video_shader *shader = NULL;
settings_t *settings = config_get_ptr();
menu_handle_t *menu = NULL;
buffer[0] = config_directory[0] = '\0';
preset_path[0] = '\0';
if (!menu_driver_ctl(RARCH_MENU_CTL_DRIVER_DATA_GET, &menu))
{
RARCH_ERR("Cannot save shader preset.\n");
return false;
}
menu_driver_ctl(RARCH_MENU_CTL_SHADER_GET,
&shader);