mirror of
https://github.com/ocornut/imgui.git
synced 2024-11-27 17:10:57 +01:00
remove call to RemoveTexture(), correct comment
This commit is contained in:
parent
e0ba0d0433
commit
841233575b
@ -817,7 +817,6 @@ void ImGui_ImplVulkan_DestroyFontsTexture()
|
||||
|
||||
if (bd->FontDescriptorSet)
|
||||
{
|
||||
ImGui_ImplVulkan_RemoveTexture(bd->FontDescriptorSet);
|
||||
bd->FontDescriptorSet = VK_NULL_HANDLE;
|
||||
io.Fonts->SetTexID(0);
|
||||
}
|
||||
|
@ -57,8 +57,7 @@
|
||||
#endif
|
||||
|
||||
// Initialization data, for ImGui_ImplVulkan_Init()
|
||||
// - VkDescriptorPool should be created with VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
|
||||
// and must contain a pool size large enough to hold an ImGui VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER descriptor.
|
||||
// - VkDescriptorPool must be created with a VkDescriptorPoolSize that includes one ImGui VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER descriptor and a VkDescriptorPoolCreateInfo where `maxSets` includes one ImGui descriptor set.
|
||||
// - When using dynamic rendering, set UseDynamicRendering=true and fill PipelineRenderingCreateInfo structure.
|
||||
// [Please zero-clear before use!]
|
||||
struct ImGui_ImplVulkan_InitInfo
|
||||
|
Loading…
Reference in New Issue
Block a user