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
The answerer on stackoverflow provided this solution:
gl.GoStringUb( gl.GetString(gl.RENDERER) )
I just didn't find the GoStringUb function in the documentation, you probably should put a hint in the doc for each function that returns a *Ubyte ( or just convert it to a go string in this function it that would make more sense to you)
Thank you for your consideration.
The text was updated successfully, but these errors were encountered:
I encountered a problem while using the the gl bindings. I used GetString and could not figure out how to properly make a string out of it.
http://stackoverflow.com/questions/21370390/read-a-c-type-string-from-go
The answerer on stackoverflow provided this solution:
I just didn't find the GoStringUb function in the documentation, you probably should put a hint in the doc for each function that returns a *Ubyte ( or just convert it to a go string in this function it that would make more sense to you)
Thank you for your consideration.
The text was updated successfully, but these errors were encountered: