View Full Version : update opengl to version 3.1

10-14-2009, 05:50 PM
how does the update-procedure works to programm with the new version of opengl?

which files have to be downloaded?

10-14-2009, 08:25 PM
OpenGL comes as part of your video drivers (unless you want to use software rendering)

So simply update your Video drivers and you will have it. (need a fairly decent video card however)

To access the OpenGL 3.1 features you will have to load the entry points manually.

10-14-2009, 08:58 PM
I have found SDL and freeglut to be good ways to get an openGL context. SDL has the best tutorial. Freeglut is good but lacks a good tutorial for ogl3.2.

Take a look at SDL (http://www.opengl.org/wiki/Tutorial1:_Creating_a_Cross_Platform_OpenGL_3.2_Co ntext_in_SDL_(C_/_SDL))

or freeglut (http://freeglut.sourceforge.net/) and you will need the Testing Release "Freeglut 2.6.0 Release Candidate 1". This has a new API function that gives you ogl3 context = glutInitContextVersion.