开发者

OpenGL SDK on Windows

I'm trying to write an OpenGL application so I installed the Windows 7 SDK. However, it appears that it开发者_开发知识库 is OpenGL 1.1...

#define GL_VERSION_1_1                    1

How can I find which version of OpenGL I have installed(*.dll) and where can I find the newer *.lib/*.h files?


Microsoft hasn't updated their OpenGL headers/libraries for quite a while. To use newer features, you normally want to use GLEW or GLEE.


There is no new version of OpenGL in Win7. You must download new headers form opengl.org and use extension techniques of OpenGL to obtain advanced functionality. For version of OpenGL use this function glGetString


I wrote my own OpenGL extension loader (like GLEE or GLEW) because I didn't like the licenses for the other available libraries. I don't think anyone should ever have to do this again, so I've made mine public domain, do with it as you will. I'd like to hear if you use it in something, but that's not a requirement. It supports up to OpenGL 4.1 at the moment.

http://www.onemanmmo.com/index.php?cmd=newsitem&comment=news.1.28.0


If you have NVIDIA graphics, download NVIDIA OpenGL SDK. You get the latest compliant with OpenGL 4.4.

First demo application is available from: http://msdn.microsoft.com/en-us/library/windows/desktop/dd369065%28v=vs.85%29.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜