aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs
diff options
context:
space:
mode:
authorMarco Carvalho <marcolucio27@gmail.com>2023-06-22 20:37:25 -0300
committerGitHub <noreply@github.com>2023-06-23 01:37:25 +0200
commit7608cb37ab798db49f33f3870f2f84fbe0809266 (patch)
treefba2d3c72f11cd2c94e48f2cf9fdad086f5b10a1 /src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs
parentd604e982276105db043ca495a16f1b047bb2d0f6 (diff)
"Exists" method should be used instead of the "Any" extension (#5345)1.1.901
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs')
-rw-r--r--src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs
index fd66269d..da8dd849 100644
--- a/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs
+++ b/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs
@@ -512,7 +512,7 @@ namespace Ryujinx.Graphics.Gpu.Image
/// <returns>True if at least one of the handles is dirty</returns>
private bool CheckDirty()
{
- return Handles.Any(handle => handle.Dirty);
+ return Array.Exists(Handles, handle => handle.Dirty);
}
/// <summary>