Initialize OpenGL functions when first context is created