diff options
author | gdkchan <gab.dark.100@gmail.com> | 2023-03-19 13:31:35 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-19 17:31:35 +0100 |
commit | 67b4e63cff0d6ce9629c3032f2b0d6414cee1220 (patch) | |
tree | 93b5821c6905bc70763644cb5796b1297b1d667b /Ryujinx.Graphics.Gpu/Image/Texture.cs | |
parent | c05c688ee840dc0f8981858d7e723667efdcb8b5 (diff) |
Remove MultiRange Min/MaxAddress and rename GetSlice to Slice (#4566)1.1.671
* Delete MinAddress and MaxAddress from MultiRange
* Rename MultiRange.GetSlice to MultiRange.Slice
Diffstat (limited to 'Ryujinx.Graphics.Gpu/Image/Texture.cs')
-rw-r--r-- | Ryujinx.Graphics.Gpu/Image/Texture.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Graphics.Gpu/Image/Texture.cs b/Ryujinx.Graphics.Gpu/Image/Texture.cs index b784a545..f80f20ed 100644 --- a/Ryujinx.Graphics.Gpu/Image/Texture.cs +++ b/Ryujinx.Graphics.Gpu/Image/Texture.cs @@ -1475,8 +1475,8 @@ namespace Ryujinx.Graphics.Gpu.Image MultiRange otherRange = texture.Range; - IEnumerable<MultiRange> regions = _sizeInfo.AllRegions().Select((region) => Range.GetSlice((ulong)region.Offset, (ulong)region.Size)); - IEnumerable<MultiRange> otherRegions = texture._sizeInfo.AllRegions().Select((region) => otherRange.GetSlice((ulong)region.Offset, (ulong)region.Size)); + IEnumerable<MultiRange> regions = _sizeInfo.AllRegions().Select((region) => Range.Slice((ulong)region.Offset, (ulong)region.Size)); + IEnumerable<MultiRange> otherRegions = texture._sizeInfo.AllRegions().Select((region) => otherRange.Slice((ulong)region.Offset, (ulong)region.Size)); foreach (MultiRange region in regions) { |