Jump to content
  • Advertisement
Sign in to follow this  
Elsenhans2

OpenGL newest opengl header files

This topic is 5468 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Advertisement
Quote:
- The FAQ Says -
How can I program for OpenGL beyond version 1.1 in windows?
Although the current OpenGL version is 1.5 (as of 2004/03/29) , and this has been implemented by all major hardware manufacturers, Microsoft has only released OpenGL32.dll and OpenGl32.lib files corresponding to version OpenGL 1.1. In order to use newer core functions or any OpenGL extensions, you have to link the functions you want manually.

To do this, download the latest glext.h from SGI.com which includes typedefs for all registered extension functions. After including glext.h in your project, you can then declare the functions you need using the typedefs provided, and obtain a pointer to them with wglGetProcAddress. Once linked you can then use the new functions as ordinary OpenGL commands.

* Moving Beyond OpenGL 1.1 for Windows by Dave Astle gives a more detailed explanation and implementation details.

* There are a number of libraries for automatically loading OpenGL extensions. These are listed in the resources section.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!