mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-11 00:04:24 +00:00
check for allocated descriptor set
This commit is contained in:
parent
b2f39318cb
commit
28e22d8028
1 changed files with 1 additions and 0 deletions
|
|
@ -1267,6 +1267,7 @@ VkDescriptorSet ImGui_ImplVulkan_AddTexture(VkSampler sampler, VkImageView image
|
|||
}
|
||||
|
||||
// Update the Descriptor Set:
|
||||
if (descriptor_set != VK_NULL_HANDLE)
|
||||
{
|
||||
VkDescriptorImageInfo desc_image[1] = {};
|
||||
desc_image[0].sampler = sampler;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue