mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
Shader parameters saving fix
It's @aliaspider code :p
This commit is contained in:
parent
fc0ea0c63f
commit
de6c185e88
@ -1414,14 +1414,18 @@ static bool wiiu_gfx_set_shader(void *data,
|
||||
return false;
|
||||
}
|
||||
|
||||
config_file_free(conf);
|
||||
|
||||
video_shader_resolve_relative(wiiu->shader_preset, path);
|
||||
|
||||
// video_shader_resolve_parameters(conf, &shader);
|
||||
#if 0
|
||||
video_shader_resolve_parameters(conf, wiiu->shader_preset);
|
||||
#else
|
||||
for (int i = 0; i < wiiu->shader_preset->passes; i++)
|
||||
slang_preprocess_parse_parameters(wiiu->shader_preset->pass[i].source.path, wiiu->shader_preset);
|
||||
|
||||
video_shader_resolve_current_parameters(conf, wiiu->shader_preset);
|
||||
#endif
|
||||
config_file_free(conf);
|
||||
|
||||
for (int i = 0; i < wiiu->shader_preset->passes; i++)
|
||||
{
|
||||
char gfdpath[PATH_MAX_LENGTH];
|
||||
|
Loading…
Reference in New Issue
Block a user