loadGLFunc replaced with bindGLFunc