diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2024-05-14 12:06:36 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-14 17:06:36 +0200 |
| commit | 2ef4f92b0793feb7073ed85b7f7dc08dca6f14e9 (patch) | |
| tree | 941a7bd42e1f551e9d7d9fc042c7e96a7bda8aff /src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs | |
| parent | 2b6cc4b3536693d222b695295c9db4715ca3f570 (diff) | |
Make TextureGroup.ClearModified thread safe (#6686)
Diffstat (limited to 'src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs')
| -rw-r--r-- | src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs b/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs index 0af6b7ca..860922d5 100644 --- a/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs +++ b/src/Ryujinx.Graphics.Gpu/Image/TextureGroupHandle.cs @@ -121,7 +121,7 @@ namespace Ryujinx.Graphics.Gpu.Image public TextureGroupHandle(TextureGroup group, int offset, ulong size, - List<Texture> views, + IEnumerable<Texture> views, int firstLayer, int firstLevel, int baseSlice, @@ -201,8 +201,8 @@ namespace Ryujinx.Graphics.Gpu.Image /// Calculate a list of which views overlap this handle. /// </summary> /// <param name="group">The parent texture group, used to find a view's base CPU VA offset</param> - /// <param name="views">The list of views to search for overlaps</param> - public void RecalculateOverlaps(TextureGroup group, List<Texture> views) + /// <param name="views">The views to search for overlaps</param> + public void RecalculateOverlaps(TextureGroup group, IEnumerable<Texture> views) { // Overlaps can be accessed from the memory tracking signal handler, so access must be atomic. lock (Overlaps) |
