macOS 上的 OpenGL 是否已弃用?

Is OpenGL on macOS deprecated?

我已经开始接触 OpenGL,但总是收到警告!

例如,为什么 glutInit(&argc, arg); 在 macOS 10.9 中被弃用? ('glutInit' 已弃用:首先在 macOS 10.9 中弃用 - OpenGL API 已弃用。)

有没有办法更新 OpenGl?

根据 OpenGL Programming Guide for Mac as well as this here (all the way at the bottom), OpenGL is a deprecated technology starting with macOS 10.14. They want you to use Metal 而不是…