diff options
Diffstat (limited to 'src/vulkan/graphics_pipeline.cc')
-rw-r--r-- | src/vulkan/graphics_pipeline.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/vulkan/graphics_pipeline.cc b/src/vulkan/graphics_pipeline.cc index 705ca37..b9f7736 100644 --- a/src/vulkan/graphics_pipeline.cc +++ b/src/vulkan/graphics_pipeline.cc @@ -848,9 +848,7 @@ Result GraphicsPipeline::Draw(const DrawArraysCommand* command, // Note that a command updating a descriptor set and a command using // it must be submitted separately, because using a descriptor set // while updating it is not safe. - r = UpdateDescriptorSetsIfNeeded(); - if (!r.IsSuccess()) - return r; + UpdateDescriptorSetsIfNeeded(); { CommandBufferGuard cmd_buf_guard(GetCommandBuffer()); |