March 2013
Intermediate to advanced
984 pages
26h 18m
English
To simplify both verifying extension support and dealing with the associated function pointers, we recommend using the open-source GLEW library (http://glew.sourceforge.net/) developed by Milan Ikits and Marcelo Magallon, which manages this process simply and elegantly.
To incorporate GLEW into your applications, follow these three simple steps:
1. Replace the OpenGL and glext.h header files with those of GLEW: glew.h.
2. Initialize GLEW by calling glewInit() after you’ve created your window (or more specifically, your OpenGL context). This causes GLEW to query and retrieve all available function pointers from your implementation as well as to provide a convenient set of variables for determining whether a ...