mirror of
https://github.com/KillzXGaming/Switch-Toolbox
synced 2024-11-22 04:23:09 +00:00
Merge pull request #10 from OatmealDome/patch-2
BFRES: Add missing samplers to the sampler list instead of attributes
This commit is contained in:
commit
b7520ef616
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ namespace FirstPlugin
|
|||
foreach (var tex in shape.GetMaterial().textures)
|
||||
{
|
||||
if (!shd.samplers.ContainsValue(tex.SamplerName))
|
||||
shd.attributes.Add(tex.SamplerName, tex.SamplerName);
|
||||
shd.samplers.Add(tex.SamplerName, tex.SamplerName);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue