Adapt to new gl core binding