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