diff options
author | Mary <mary@mary.zone> | 2023-03-27 04:16:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 02:16:31 +0000 |
commit | f0a3dff136b5fd872c66059cbce779b19515981f (patch) | |
tree | 69a8fd473cd15974f127b550dea1704cf39e0730 /Ryujinx.Graphics.Vulkan/VulkanRenderer.cs | |
parent | f659dcb9d85da034a8863375420cf8f135bd9ec2 (diff) |
vulkan: Remove CreateCommandBufferPool from VulkanInitialization (#4606)1.1.684
It was only called in one place, that can be simplified.
Diffstat (limited to 'Ryujinx.Graphics.Vulkan/VulkanRenderer.cs')
-rw-r--r-- | Ryujinx.Graphics.Vulkan/VulkanRenderer.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs b/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs index cbee3747..d8cb5e2b 100644 --- a/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs +++ b/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs @@ -320,7 +320,7 @@ namespace Ryujinx.Graphics.Vulkan MemoryAllocator = new MemoryAllocator(Api, _physicalDevice, _device, properties.Limits.MaxMemoryAllocationCount); - CommandBufferPool = VulkanInitialization.CreateCommandBufferPool(Api, _device, Queue, QueueLock, queueFamilyIndex); + CommandBufferPool = new CommandBufferPool(Api, _device, Queue, QueueLock, queueFamilyIndex); DescriptorSetManager = new DescriptorSetManager(_device); |