vulkan-go / vulkan

Vulkan API bindings for Go programming language
MIT License
742 stars 55 forks source link

Init, getting null functions on Linux with Nvidia #39

Open tfriedel6 opened 4 years ago

tfriedel6 commented 4 years ago

Hi! Just wanted to let you know that (unless I made some mistake) on Linux with the proprietary Nvidia driver I only get the three functions from the Init function, all other functions result in a null pointer unless an instance is provided.

I worked around it by calling Init, then creating the instance, then calling InitInstance with that instance. This works, but of course it checks for most the function addresses twice. Is there maybe some way to avoid that?