OpenGL extensions


#1

Hi,

Jules have you considered using glew library for better control over OpenGL setup on user machines?
Or some other similar library?

http://glew.sourceforge.net/
The OpenGL Extension Wrangler Library

The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.

Bye


#2

I’ve heard of glew, but TBH I didn’t really come across any situations where I needed it. What kind of thing did you think it might be helpful for?


#3

Hi,

Call OpenGL functions directly instead context.extensions.function plus all OpenGL functions are available (system headers are usually outdated).

I believe library like this can save you some work too because it keeps track of OpenGL spec changes for you.

Bye