Function initGLSupport

initialize OpenGL support helper (call when current OpenGL context is initialized)

bool initGLSupport(
  bool legacy = false
);