mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-21 00:52:11 +00: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.PNext = &customBorderColor;
|
||||||
|
samplerCreateInfo.BorderColor = BorderColor.FloatCustomExt;
|
||||||
}
|
}
|
||||||
|
|
||||||
gd.Api.CreateSampler(device, samplerCreateInfo, null, out var sampler).ThrowOnError();
|
gd.Api.CreateSampler(device, samplerCreateInfo, null, out var sampler).ThrowOnError();
|
||||||
|
|
Loading…
Reference in a new issue