aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Vulkan/TextureStorage.cs
diff options
context:
space:
mode:
authorMary-nyan <mary@mary.zone>2022-12-05 13:57:11 +0100
committerGitHub <noreply@github.com>2022-12-05 12:57:11 +0000
commitae13f0ab4da5b371bba746c1bd6598baaa44585d (patch)
treea0e59fd329800a6b29385e740f93b51ec74620ae /Ryujinx.Graphics.Vulkan/TextureStorage.cs
parenta2a35f1be66112a29f98fedc375f505344a690dd (diff)
misc: Fix obsolete warnings in Ryujinx.Graphics.Vulkan (#4020)1.1.425
Was caused by some merges after the Silk.NET update
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/TextureStorage.cs')
-rw-r--r--Ryujinx.Graphics.Vulkan/TextureStorage.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Vulkan/TextureStorage.cs b/Ryujinx.Graphics.Vulkan/TextureStorage.cs
index 591a0c28..f4feecbc 100644
--- a/Ryujinx.Graphics.Vulkan/TextureStorage.cs
+++ b/Ryujinx.Graphics.Vulkan/TextureStorage.cs
@@ -317,7 +317,7 @@ namespace Ryujinx.Graphics.Vulkan
SampleCountFlags converted = (SampleCountFlags)(1u << (31 - BitOperations.LeadingZeroCount(samples)));
// Pick nearest sample count that the host actually supports.
- while (converted != SampleCountFlags.SampleCount1Bit && (converted & supportedSampleCounts) == 0)
+ while (converted != SampleCountFlags.Count1Bit && (converted & supportedSampleCounts) == 0)
{
converted = (SampleCountFlags)((uint)converted >> 1);
}