mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
Merge pull request #6229 from aliaspider/master
(slang) slang_process: preset alias setting has higher priority.
This commit is contained in:
commit
31a30f1496
@ -316,7 +316,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…
x
Reference in New Issue
Block a user