updated example to conform to new api
cleaned up api using reflection to change gl.Void (aka unsafe.Pointer) -> interface{}.