Adapt to glbinding 1.0

Since other commits on master have reduced the delta of this pull request, it can be merged immediately.