diff options
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/DisposableFramebuffer.cs')
| -rw-r--r-- | Ryujinx.Graphics.Vulkan/DisposableFramebuffer.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Ryujinx.Graphics.Vulkan/DisposableFramebuffer.cs b/Ryujinx.Graphics.Vulkan/DisposableFramebuffer.cs deleted file mode 100644 index 5b195354..00000000 --- a/Ryujinx.Graphics.Vulkan/DisposableFramebuffer.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Silk.NET.Vulkan; -using System; - -namespace Ryujinx.Graphics.Vulkan -{ - readonly struct DisposableFramebuffer : IDisposable - { - private readonly Vk _api; - private readonly Device _device; - - public Framebuffer Value { get; } - - public DisposableFramebuffer(Vk api, Device device, Framebuffer framebuffer) - { - _api = api; - _device = device; - Value = framebuffer; - } - - public void Dispose() - { - _api.DestroyFramebuffer(_device, Value, Span<AllocationCallbacks>.Empty); - } - } -} |
