charles-lunarg / vk-bootstrap

Vulkan Bootstrapping Iibrary
MIT License
821 stars 82 forks source link

Fix different includes causing crashes in DispatchTable #178

Closed charles-lunarg closed 1 year ago

charles-lunarg commented 2 years ago

Effectively, if any of the includes cause different macro definitions to be true/false inside of a project, it leads to difficult to debug crashes where random functions get called.

#if COND
PFN_vkBlah fp_blah = nullptr;
#else 
void * padding12345;
#endif