首页 > 解决方案 > Is OpenGL on macOS deprecated?

问题描述

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?

标签: macosopenglglutdeprecated

解决方案


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…


推荐阅读