diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2022-10-10 03:35:44 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-10 08:35:44 +0200 |
| commit | 5af132706822d5aa3fc3942af2d5bd7abb185f2d (patch) | |
| tree | a8761194ac865b4fdc18aae4782b8de8ccc5eef2 | |
| parent | 88a8d1e5674075040713bf71666498a4a94b4d29 (diff) | |
Vulkan: Fix sampler custom border color (#3751)
| -rw-r--r-- | Ryujinx.Graphics.Vulkan/SamplerHolder.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Vulkan/SamplerHolder.cs b/Ryujinx.Graphics.Vulkan/SamplerHolder.cs index a8f7c944..a95e4dba 100644 --- a/Ryujinx.Graphics.Vulkan/SamplerHolder.cs +++ b/Ryujinx.Graphics.Vulkan/SamplerHolder.cs @@ -64,6 +64,7 @@ namespace Ryujinx.Graphics.Vulkan }; samplerCreateInfo.PNext = &customBorderColor; + samplerCreateInfo.BorderColor = BorderColor.FloatCustomExt; } gd.Api.CreateSampler(device, samplerCreateInfo, null, out var sampler).ThrowOnError(); |
