PDA

View Full Version : init of glew



zoekke
06-10-2005, 07:46 AM
Is there another way to initialize glew successfully (by glewInit(), without an no-gl-version-error) beside the way using glut to create a window.
I need to init glew for a library in that no window cration function exists. But of course I have access to the handle of that certain window where the program is supposed to run in.

Any ideas?

Thx

kingjosh
06-13-2005, 07:41 AM
Are you using the most recent version of GLEW?

You need to initialize GLEW after you create your OpenGL context, otherwise you'll get error(s). See the GLEW documentation (http://glew.sourceforge.net/basic.html) for additional information.