Update to use new GL bindings.