mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-24 14:55:07 +00:00
The OpenGL Extension Wrangler Library
e935fcad83
For GL versions since 3.0 the glGetString() function is deprecated or removed, and the right way to query extensions is glGetStringi(), but that has to be loaded first. Also instead of searching the whole extension string n times lookup the known extensions in a static hash table. The hash table is built with the gperf utility. |
||
---|---|---|
auto | ||
build | ||
config | ||
doc | ||
src | ||
.gitattributes | ||
.gitignore | ||
.travis.yml | ||
cmake-testbuild.sh | ||
glew.pc.in | ||
LICENSE.txt | ||
Makefile | ||
README.md | ||
TODO.txt |
GLEW - The OpenGL Extension Wrangler Library
https://github.com/nigels-com/glew
Build
If you downloaded the tarball or zip archive from the GLEW website, you just need to:
Unix
$ make
$ sudo make install
$ make clean
Windows
use the project file in build/vc12/
Code Generation
If you wish to build GLEW from scratch (update the extension data from the net or add your own extension information), you need a Unix environment (including wget, perl, and GNU make). The extension data is regenerated from the top level source directory with:
make extensions
An alternative to generating the GLEW sources from scratch is to download a pre-generated (unsupported) snapshot:
https://sourceforge.net/projects/glew/files/glew/snapshots/
Travis-built snapshots are also available: