mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-05 05:28:59 +02:00
misc: chore: Use collection expressions
This commit is contained in:
@@ -1315,7 +1315,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||
|
||||
if (_isBuffer)
|
||||
{
|
||||
handles = Array.Empty<TextureGroupHandle>();
|
||||
handles = [];
|
||||
}
|
||||
else if (!(_hasMipViews || _hasLayerViews))
|
||||
{
|
||||
@@ -1339,7 +1339,7 @@ namespace Ryujinx.Graphics.Gpu.Image
|
||||
|
||||
var groupHandle = new TextureGroupHandle(this, 0, Storage.Size, _views, 0, 0, 0, _allOffsets.Length, cpuRegionHandles);
|
||||
|
||||
handles = new TextureGroupHandle[] { groupHandle };
|
||||
handles = [groupHandle];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user