gpt4 book ai didi

c++ - 如何使用 OpenGL 2.0 而不是更高版本?

转载 作者:太空狗 更新时间:2023-10-29 23:47:26 25 4
gpt4 key购买 nike

目标是制作一款与多种显卡兼容且跨平台的游戏。我决定使用 OpenGL 2.0 和 Glut。

但是我很快意识到,OpenGL 版本 1.0、2.0、2.1 没有特定的 DLL...这让我想知道,您究竟如何选择您需要的 OpenGL 版本?

此外,我知道 Windows Visual Studio 仅随 OpenGL 1.1 版一起提供。这就是我决定使用 Glut 的原因,这样我就可以使用 OpenGL 更高版本(例如 2.0)中的功能。

问题仍然存在,我如何使用特定版本的 OpenGL?

最佳答案

您根本不使用自 2.0 以来引入的任何新功能

关于c++ - 如何使用 OpenGL 2.0 而不是更高版本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5639275/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com