diff options
| author | gdk <gab.dark.100@gmail.com> | 2019-11-08 16:39:12 -0300 |
|---|---|---|
| committer | Thog <thog@protonmail.com> | 2020-01-09 02:13:00 +0100 |
| commit | 1e8bc29f32cde08616175f8f87405dfa7b8c4025 (patch) | |
| tree | eccfd6fb25687c4d04e9520e8b1ba5a2543a30d4 /Ryujinx.Graphics.Gpu/Image/TextureManager.cs | |
| parent | a31fced221187850c8447d5d8142ca85f118b43e (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.cs | 4 |
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(); } |
