When I use glad2 for Vulkan I get errors that the imgui library cannot find Vulkan functions. I created this hotfix to resolve this issue.
Error example: imgui/backends/imgui_impl_vulkan.cpp:1582:(.text+0x4936): undefined reference to vkDestroySemaphore
In imgui_impl_vulkan.h we should change 56-66 lines to:
Version/Branch of Dear ImGui:
master
Back-ends:
imgui_impl_vulkan.cpp + imgui_impl_glfw.cpp
Compiler, OS:
Arch Linux GCC 14
Full config/build information:
No response
Details:
Add Vulkan glad2 support!
When I use glad2 for Vulkan I get errors that the imgui library cannot find Vulkan functions. I created this hotfix to resolve this issue. Error example:
imgui/backends/imgui_impl_vulkan.cpp:1582:(.text+0x4936): undefined reference to vkDestroySemaphore
In
imgui_impl_vulkan.h
we should change 56-66 lines to:And also fix 96 line from
VkPipelineRenderingCreateInfoKHR
toVkPipelineRenderingCreateInfo
Thanks for attention!
Screenshots/Video:
No response
Minimal, Complete and Verifiable Example code:
No response