diff options
| author | riperiperi <rhy3756547@hotmail.com> | 2024-09-01 21:33:11 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-01 17:33:11 -0300 |
| commit | 398fa1c238df75ee93f7106a578569f87cae8c0b (patch) | |
| tree | fb3235befaae16117d4e007bcacbceca5614de14 /src/Ryujinx.Graphics.Vulkan/SamplerHolder.cs | |
| parent | 2c5c0392f9ff80a3907bbf376a13f797ebbc12cc (diff) | |
Vulkan: Update Silk.NET to 2.21 (#7266)
* Update Silk.NET version
* fix: add MoltenVK resolver workaround
fix: add MoltenVK resolver workaround
* Cleanup
* Readonly ref warnings
* Remove driver id todo
Diffstat (limited to 'src/Ryujinx.Graphics.Vulkan/SamplerHolder.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.Vulkan/SamplerHolder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Vulkan/SamplerHolder.cs b/src/Ryujinx.Graphics.Vulkan/SamplerHolder.cs index f67daeec..7f37ab13 100644 --- a/src/Ryujinx.Graphics.Vulkan/SamplerHolder.cs +++ b/src/Ryujinx.Graphics.Vulkan/SamplerHolder.cs @@ -68,7 +68,7 @@ namespace Ryujinx.Graphics.Vulkan samplerCreateInfo.BorderColor = BorderColor.FloatCustomExt; } - gd.Api.CreateSampler(device, samplerCreateInfo, null, out var sampler).ThrowOnError(); + gd.Api.CreateSampler(device, in samplerCreateInfo, null, out var sampler).ThrowOnError(); _sampler = new Auto<DisposableSampler>(new DisposableSampler(gd.Api, device, sampler)); } |
