mirror of
https://github.com/Ryubing/Ryujinx.git
synced 2025-12-02 09:12:22 -05:00
misc: chore: Fix object creation in Vulkan project
This commit is contained in:
@@ -37,7 +37,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
|
||||
public void Initialize(Vk api, Device device, CommandPool pool)
|
||||
{
|
||||
CommandBufferAllocateInfo allocateInfo = new CommandBufferAllocateInfo
|
||||
CommandBufferAllocateInfo allocateInfo = new()
|
||||
{
|
||||
SType = StructureType.CommandBufferAllocateInfo,
|
||||
CommandBufferCount = 1,
|
||||
@@ -75,7 +75,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
_concurrentFenceWaitUnsupported = concurrentFenceWaitUnsupported;
|
||||
_owner = Thread.CurrentThread;
|
||||
|
||||
CommandPoolCreateInfo commandPoolCreateInfo = new CommandPoolCreateInfo
|
||||
CommandPoolCreateInfo commandPoolCreateInfo = new()
|
||||
{
|
||||
SType = StructureType.CommandPoolCreateInfo,
|
||||
QueueFamilyIndex = queueFamilyIndex,
|
||||
@@ -248,7 +248,7 @@ namespace Ryujinx.Graphics.Vulkan
|
||||
|
||||
_inUseCount++;
|
||||
|
||||
CommandBufferBeginInfo commandBufferBeginInfo = new CommandBufferBeginInfo
|
||||
CommandBufferBeginInfo commandBufferBeginInfo = new()
|
||||
{
|
||||
SType = StructureType.CommandBufferBeginInfo,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user