#Ay i need help with glad2 multicontext(mx) vulkan.

4 messages · Page 1 of 1 (latest)

dense quiver
#

I somehow figured out how to use glad2s multi context opengl loader, but loading vulkan is harder for me I have never worked with vulkan.

open kiteBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

dense quiver
#

So my problem is I want to load it using

if(!gladLoadVulkanContext(&context, device, MTWM_Win::getProcAddress)) {
   std::cerr << "failed to load vulkan\n";
}``` 
but i need a device that i don,t know how to pick bc I need a function that is only avaliable after context is create (i mean EnumeratePhysicalDevices) that is only avaliable like this ```context.EnumeratePhysicalDevices(...);```
#

its might be a dumb idea to use glad2s multi context version but my opengl is setup in the same way and I dont want to modify that