misc: chore: Fix object creation in Vulkan project

This commit is contained in:
Evan Husted
2025-01-26 15:16:32 -06:00
parent eae6dba610
commit 5f023ca49b
37 changed files with 172 additions and 172 deletions

View File

@ -28,7 +28,7 @@ namespace Ryujinx.Graphics.Vulkan
BorderColor borderColor = GetConstrainedBorderColor(info.BorderColor, out bool cantConstrain);
Silk.NET.Vulkan.SamplerCreateInfo samplerCreateInfo = new Silk.NET.Vulkan.SamplerCreateInfo
Silk.NET.Vulkan.SamplerCreateInfo samplerCreateInfo = new()
{
SType = StructureType.SamplerCreateInfo,
MagFilter = info.MagFilter.Convert(),
@ -52,7 +52,7 @@ namespace Ryujinx.Graphics.Vulkan
if (cantConstrain && gd.Capabilities.SupportsCustomBorderColor)
{
ClearColorValue color = new ClearColorValue(
ClearColorValue color = new(
info.BorderColor.Red,
info.BorderColor.Green,
info.BorderColor.Blue,