diff options
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/Sampler.cs')
| -rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Sampler.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Sampler.cs b/Ryujinx.Graphics.Gpu/Image/Sampler.cs index 23c6160e..45f5f519 100644 --- a/Ryujinx.Graphics.Gpu/Image/Sampler.cs +++ b/Ryujinx.Graphics.Gpu/Image/Sampler.cs @@ -30,7 +30,11 @@ namespace Ryujinx.Graphics.Gpu.Image CompareMode compareMode = descriptor.UnpackCompareMode(); CompareOp compareOp = descriptor.UnpackCompareOp(); - ColorF color = new ColorF(0, 0, 0, 0); + ColorF color = new ColorF( + descriptor.BorderColorR, + descriptor.BorderColorG, + descriptor.BorderColorB, + descriptor.BorderColorA); float minLod = descriptor.UnpackMinLod(); float maxLod = descriptor.UnpackMaxLod(); |
