chsc/gogl — Issue #2: Go string to *gl.Char
Author: Agon
Created: 2012-01-13 16:04:54+00:00
State: open

Hello,

I am converting my OpenGL 3 wiki examples https://github.com/Agon/gl3-examples from the OpenGL binding to your generated OpenGL 3.3 binding. I run into a conversion problem with func GetShaderSource(shader Uint, bufSize Sizei, length *Sizei, source *Char) , how do I convert a Go string ([]rune) into a *gl.Char ?

Thanks in advance.