The OpenGL Extension Wrangler Library
Go to file
Matthias Bentrup e935fcad83 Load core function pointers before checking the extension string.
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.
2015-12-16 21:10:52 +10:00
auto Load core function pointers before checking the extension string. 2015-12-16 21:10:52 +10:00
build More cmake migrate for removal of MX 2015-12-06 12:49:28 +10:00
config Bump GLEW to version 2.0.0, with Core context support, but no MX, for now. 2015-12-06 12:50:41 +10:00
doc Remove MX support due to the complexity of supporting both MX and Core contexts 2015-12-06 12:49:24 +10:00
src OSMesaMakeCurrent for glewCreateContext in GLEW_OSMESA mode. 2015-10-12 20:31:51 +10:00
.gitattributes cmake: install config-module 2015-06-22 14:06:50 +02:00
.gitignore cmake: install config-module 2015-06-22 14:06:50 +02:00
.travis.yml Re-enable Travis build for Core Context mode 2015-12-06 12:49:26 +10:00
cmake-testbuild.sh build: cmake-testbuild to work on OS X and with CMake < 3.0 2015-07-12 23:12:36 +02:00
glew.pc.in Sourceforge Bug 263 - Fixed include path for pkg-config 2015-01-24 17:03:51 +10:00
LICENSE.txt Set eol-style to native for misc headers and text files 2009-10-07 15:36:15 +00:00
Makefile Remove MX support due to the complexity of supporting both MX and Core contexts 2015-12-06 12:49:24 +10:00
README.md Migrating README.txt to README.md 2015-10-05 20:12:39 +10:00
TODO.txt updated todo list 2007-03-21 23:36:26 +00:00

GLEW - The OpenGL Extension Wrangler Library

http://glew.sourceforge.net/

https://github.com/nigels-com/glew

Build Status

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:

https://glew.s3.amazonaws.com/index.html