Updated opengl cbinding.