GL_CLAMP_TO_EDGE. Anyone knows it?

Hi,

i found this code line:

glTexParameteri (GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);

but compiling give this error:

GL_CLAMP_TO_EDGE: undeclared identifier.

Anyone know this type?

GL_CLAMP_TO_EDGE should be defined in glext.h. If you only included gl.h then you will have such error (I assume you are wrking under Windows).
You may also use glew or glee libraries to make life easier.