Is OpenGL on macOS deprecated?

怎甘沉沦 提交于 2019-12-13 04:22:30

问题


I've started to get a little involved with OpenGL, but I get warnings all the time!

Why is, for example, glutInit(&argc, arg); deprecated in macOS 10.9? ('glutInit' is deprecated: first deprecated in macOS 10.9 - OpenGL API deprecated.)

Is there any way to Update OpenGl?


回答1:


According to the 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 instead…



来源:https://stackoverflow.com/questions/55287467/is-opengl-on-macos-deprecated

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!