Parcourir la source

Backends: Vulkan: Fix building with VK_NO_PROTOTYPES. (#914, #5738).

Amend a588f00
ocornut il y a 3 ans
Parent
commit
282b2b5afb
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      backends/imgui_impl_vulkan.cpp

+ 1 - 0
backends/imgui_impl_vulkan.cpp

@@ -191,6 +191,7 @@ static bool g_FunctionsLoaded = true;
     IMGUI_VULKAN_FUNC_MAP_MACRO(vkDeviceWaitIdle) \
     IMGUI_VULKAN_FUNC_MAP_MACRO(vkFlushMappedMemoryRanges) \
     IMGUI_VULKAN_FUNC_MAP_MACRO(vkFreeCommandBuffers) \
+    IMGUI_VULKAN_FUNC_MAP_MACRO(vkFreeDescriptorSets) \
     IMGUI_VULKAN_FUNC_MAP_MACRO(vkFreeMemory) \
     IMGUI_VULKAN_FUNC_MAP_MACRO(vkGetBufferMemoryRequirements) \
     IMGUI_VULKAN_FUNC_MAP_MACRO(vkGetImageMemoryRequirements) \