mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 13:26:34 +00:00
(menu_shader.c) Cleanup
This commit is contained in:
parent
ad0707d289
commit
42ffa50758
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user