News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Open GL3

Started by Hoootie, April 22, 2009, 09:13:53 PM

Previous topic - Next topic

Hoootie

I Hope iam in the right section for this question.
searched for this, but diddnt find anything of usage for me.

Iam using CodeBlocks for some time now, and i would like to work with OpenGL 3, but i dont realy know how i manage that. what do i have to load/install?

I have already used OpenGl2 but that was with devcpp some time ago, and it was installed right at the start, so i have no practis with what.

I am runnign Windows Prof, if this is of any use for your answering.

I hope u can help,
thank you.

thomas

This has nothing to do with Code::Blocks, really.

You need to resolve function pointers the same way you did for version 2.0. Also, you need to request a 3.0 compatible context via WGL_ARB_create_context, unless you're on nVidia which returns a backwards-compatible 3.0 context by default. Updating your glext.h and wglext.h may be necessary.
You find information as well as the specs and up-to-date headers at opengl.org.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."