Fix example

This commit is contained in:
Lynix 2020-03-14 18:10:50 +01:00
parent 7cce08ecfd
commit 8d0a2cb70c
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ int main()
clearValues[0].color = {1.0f, 0.8f, 0.4f, 0.0f}; clearValues[0].color = {1.0f, 0.8f, 0.4f, 0.0f};
clearValues[1].depthStencil = {1.f, 0}; clearValues[1].depthStencil = {1.f, 0};
Nz::Vk::Queue graphicsQueue(vulkanDevice, vulkanDevice.GetEnabledQueues()[0].queues[0].queue); Nz::Vk::QueueHandle graphicsQueue = vulkanDevice.GetQueue(0, 0);
Nz::UInt32 imageCount = vulkanWindow.GetFramebufferCount(); Nz::UInt32 imageCount = vulkanWindow.GetFramebufferCount();
std::vector<Nz::Vk::CommandBuffer> renderCmds = cmdPool.AllocateCommandBuffers(imageCount, VK_COMMAND_BUFFER_LEVEL_PRIMARY); std::vector<Nz::Vk::CommandBuffer> renderCmds = cmdPool.AllocateCommandBuffers(imageCount, VK_COMMAND_BUFFER_LEVEL_PRIMARY);