View Full Version : something like glew for core OpenGL 3.3

03-22-2011, 04:13 PM

Is there something like glew that I could use that would hook up just core OpenGL 3.3 and nothing else or is this something everyone does by hand?

03-22-2011, 07:18 PM
here's a link to a python script that downloads the gl3 header file and creates a gl3w.h and gl3w.cpp file. You have to include both into the project but it's definitely gl3/4 only functions though EXT are not there I think (assuming this is windows).

here (https://github.com/skaslev/gl3w/raw/master/gl3w_gen.py)

there's an example on how you init the functions here:
here (https://github.com/skaslev/gl3w/)

03-23-2011, 12:29 AM
There is also this C++ library, it supports both compatibility and core contexts plus all extensions from the registry. It also supports windows extensions (WGL) and linux extensions (GLX). The library is generated from the .spec files in the registry via python scripts. There are namespaces for all compatibility and core versions up to OpenGL 4.1.

Example use cases here: glxx wiki (https://bitbucket.org/yotis/glxx/wiki/Home)

The last download tag is here: glxx v0.2 (https://bitbucket.org/yotis/glxx/get/v0.2.zip)