This might help you:

http://www.robthebloke.org/opengl_ex...screengrab.zip