mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-28 02:30:35 +00:00
(slang) slang_process: preset alias setting has higher priority.
This commit is contained in:
parent
76d07cd6a7
commit
0e159a0ec0
@ -313,7 +313,7 @@ bool slang_process(
|
||||
if (!slang_preprocess_parse_parameters(output.meta, shader_info))
|
||||
return false;
|
||||
|
||||
if (!output.meta.name.empty())
|
||||
if (!*pass.alias && !output.meta.name.empty())
|
||||
strncpy(pass.alias, output.meta.name.c_str(), sizeof(pass.alias) - 1);
|
||||
|
||||
out->format = output.meta.rt_format;
|
||||
|
Loading…
Reference in New Issue
Block a user