aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Vulkan/VulkanRenderer.cs
diff options
context:
space:
mode:
authorMary <mary@mary.zone>2023-03-27 04:16:31 +0200
committerGitHub <noreply@github.com>2023-03-27 02:16:31 +0000
commitf0a3dff136b5fd872c66059cbce779b19515981f (patch)
tree69a8fd473cd15974f127b550dea1704cf39e0730 /Ryujinx.Graphics.Vulkan/VulkanRenderer.cs
parentf659dcb9d85da034a8863375420cf8f135bd9ec2 (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.cs2
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);