diff options
author | TSRBerry <20988865+TSRBerry@users.noreply.github.com> | 2023-06-25 18:37:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-25 18:37:09 +0200 |
commit | bc53d0046310293a90a4312fa9317bb698dded5c (patch) | |
tree | 1cb49891f7f116f2a872eca9a433102005007033 /src/Ryujinx.Graphics.Vic/Image/BufferPool.cs | |
parent | bddb2a148355ef2ce326d47e8e5217bd8af36a98 (diff) |
[Ryujinx.Graphics.Vic] Address dotnet-format issues (#5374)1.1.913
* dotnet format style --severity info
Some changes were manually reverted.
* Restore a few unused methods and variables
* Address review comments
* Address most dotnet format whitespace warnings
* Add comments to disabled warnings
* Address IDE0251 warnings
* dotnet format whitespace after rebase
* Remove SuppressMessage attribute for removed rule
Diffstat (limited to 'src/Ryujinx.Graphics.Vic/Image/BufferPool.cs')
-rw-r--r-- | src/Ryujinx.Graphics.Vic/Image/BufferPool.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Vic/Image/BufferPool.cs b/src/Ryujinx.Graphics.Vic/Image/BufferPool.cs index cde7e6eb..1f7dc08a 100644 --- a/src/Ryujinx.Graphics.Vic/Image/BufferPool.cs +++ b/src/Ryujinx.Graphics.Vic/Image/BufferPool.cs @@ -34,7 +34,7 @@ namespace Ryujinx.Graphics.Vic.Image { int index = RentMinimum(length, out T[] bufferArray); - buffer = new Span<T>(bufferArray).Slice(0, length); + buffer = new Span<T>(bufferArray)[..length]; return index; } |