aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
diff options
context:
space:
mode:
authorgdk <gab.dark.100@gmail.com>2019-11-08 16:39:12 -0300
committerThog <thog@protonmail.com>2020-01-09 02:13:00 +0100
commit1e8bc29f32cde08616175f8f87405dfa7b8c4025 (patch)
treeeccfd6fb25687c4d04e9520e8b1ba5a2543a30d4 /Ryujinx.Graphics.Gpu/Image/TextureManager.cs
parenta31fced221187850c8447d5d8142ca85f118b43e (diff)
Use a more efficient range list on the buffer manager
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/TextureManager.cs')
-rw-r--r--Ryujinx.Graphics.Gpu/Image/TextureManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
index 2db1b4f2..d4c161bd 100644
--- a/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
+++ b/Ryujinx.Graphics.Gpu/Image/TextureManager.cs
@@ -22,7 +22,7 @@ namespace Ryujinx.Graphics.Gpu.Image
private ITexture[] _rtHostColors;
private ITexture _rtHostDs;
- private RangeList<Texture> _textures;
+ private ConcurrentRangeList<Texture> _textures;
private AutoDeleteCache _cache;
@@ -37,7 +37,7 @@ namespace Ryujinx.Graphics.Gpu.Image
_rtHostColors = new ITexture[Constants.TotalRenderTargets];
- _textures = new RangeList<Texture>();
+ _textures = new ConcurrentRangeList<Texture>();
_cache = new AutoDeleteCache();
}