mirror of
https://github.com/ocornut/imgui.git
synced 2025-02-26 06:48:26 +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)
|
if (bd->FontDescriptorSet)
|
||||||
{
|
{
|
||||||
ImGui_ImplVulkan_RemoveTexture(bd->FontDescriptorSet);
|
|
||||||
bd->FontDescriptorSet = VK_NULL_HANDLE;
|
bd->FontDescriptorSet = VK_NULL_HANDLE;
|
||||||
io.Fonts->SetTexID(0);
|
io.Fonts->SetTexID(0);
|
||||||
}
|
}
|
||||||
|
@ -57,8 +57,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Initialization data, for ImGui_ImplVulkan_Init()
|
// Initialization data, for ImGui_ImplVulkan_Init()
|
||||||
// - VkDescriptorPool should be created with VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT,
|
// - 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.
|
||||||
// and must contain a pool size large enough to hold an ImGui VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER descriptor.
|
|
||||||
// - When using dynamic rendering, set UseDynamicRendering=true and fill PipelineRenderingCreateInfo structure.
|
// - When using dynamic rendering, set UseDynamicRendering=true and fill PipelineRenderingCreateInfo structure.
|
||||||
// [Please zero-clear before use!]
|
// [Please zero-clear before use!]
|
||||||
struct ImGui_ImplVulkan_InitInfo
|
struct ImGui_ImplVulkan_InitInfo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user