From 5af132706822d5aa3fc3942af2d5bd7abb185f2d Mon Sep 17 00:00:00 2001 From: gdkchan Date: Mon, 10 Oct 2022 03:35:44 -0300 Subject: [PATCH] Vulkan: Fix sampler custom border color (#3751) --- Ryujinx.Graphics.Vulkan/SamplerHolder.cs | 1 + 1 file changed, 1 insertion(+) 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();