Prefer using collection expressions with implicit object creation when the type is clear
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
_api.DestroyBuffer(_device, Value, Span<AllocationCallbacks>.Empty);
|
||||
_api.DestroyBuffer(_device, Value, []);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user