Source code from my book Instant GLEW