[HOpenGL] Choice between old and new API