macos - 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?
解决方案
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…
推荐阅读
- grails - Grails - 禁用默认 url 映射
- json - 如何在 Swift 中创建嵌套的 [String: Anyobject]?
- java - 在哪里管理事务,Java 还是 MySQL?
- javascript - 使用鼠标和 iPad 触控面板绘制画布
- angular - 咆哮“播放无法开始”
- c# - 检测是否所有子进程都关闭
- javascript - React Native - 带有条件的 OneSignal 推送通知概念设置
- php - 类 stdClass 的对象无法转换为字符串 laravel
- matlab - Matlab:从 nlinfit 返回多个参数值(现在我只通过循环的一个索引)
- typescript - TypeScript:替换对象属性类型