Skip to content
Permalink
Browse files

Switch command buffers to be one-time-submittable (#885)

  • Loading branch information...
kvark authored and dpjudas committed Jul 5, 2019
1 parent b66b4ae commit 3467e0edcfee93ee3a6a47f7f1429fa7c6e8158d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/rendering/vulkan/system/vk_objects.h
@@ -551,7 +551,7 @@ inline void VulkanCommandBuffer::begin()
{
VkCommandBufferBeginInfo beginInfo = {};
beginInfo.sType = VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO;
beginInfo.flags = VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT;
beginInfo.flags = VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT;
beginInfo.pInheritanceInfo = nullptr;

VkResult result = vkBeginCommandBuffer(buffer, &beginInfo);

0 comments on commit 3467e0e

Please sign in to comment.
You can’t perform that action at this time.