mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-10-01 12:30:00 +02:00
Vulkan: Fix sampler custom border color (#3751)
This commit is contained in:
parent
88a8d1e567
commit
5af1327068
1 changed files with 1 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue