You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# github.com/vulkan-go/demos/vulkancube/vulkancube_sdl2
./main.go:33:31: cannot use surfPtr (type unsafe.Pointer) as type uintptr in argument to vulkan.SurfaceFromPointer
Tue 1 Dec 18:29:30 GMT 2020
fixed by adding type conversion...
surf := vk.SurfaceFromPointer(surfPtr)
->
surf := vk.SurfaceFromPointer(uintptr(surfPtr))
The text was updated successfully, but these errors were encountered:
@splace Hi, thanks for reporting this. The issue with pointer to Go memory will be resolved when I re-generate bindings, since c-for-go improved lately.
fixed by adding type conversion...
->
The text was updated successfully, but these errors were encountered: