cl
cl copied to clipboard
unknown field 'buffer'
With the new OpenCL cl.h file there is a change where an anonymous enum is giving troubles:
github.com/go-gl/cl/v1.2/cl
../../../../go/extern/src/github.com/go-gl/cl/v1.2/cl/package.go:726: unknown field 'buffer' in struct literal of type C.struct__cl_image_desc
I don't know how to properly solve this other than (temporarily) using the v1.2 cl.h header. Maybe there is a way to let cgo handle that enum?
It is the OpenCL 2.0 cl.h that causes this, i forgot to mention...