-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vulkan.CreateInstance throws runtime error #21
Comments
Did you use |
Yes, |
Declaring vkInstance right before the function call instead of as a top-level variable seems to fix that particular error, but now I'm getting a segfault in the C code
I can build and run the vulkancube demo just fine. |
Here's output from GDB. I'm stumped.
|
My bad. Didn't realise vulkan-go required a call to Init() from both itself and glfw. |
In my defense though, the documentation is pretty much non-existent. |
Calling CreateInstance panics with
runtime error: cgo argument has Go pointer to Go pointer
.The text was updated successfully, but these errors were encountered: