bbredesen / go-vk

A Go binding around the Vulkan graphics and compute API.
MIT License
64 stars 1 forks source link

create surface error #9

Closed xtxy closed 1 year ago

xtxy commented 1 year ago

windows 11 golang 1.20 glfw v3.3

window, err := glfw.CreateWindow(800, 600, "vulkan", nil, nil)
instance, err := vk.CreateInstance(&createInfo, nil)
ptr, err := window.CreateWindowSurface(instance, nil)

call window.CreateWindowSurface, it report an error: vulkan: instance is not a VkInstance (expected kind Ptr, got uintptr)

xtxy commented 1 year ago

does not support glfw