[RESOLVED] Where is GL_GENERATE_MIPMAP?

I’d like to use ‘glTexParameteri(GL_TEXTURE_2D, GL_GENERATE_MIPMAP, GL_TRUE)’ for mipmapping. The problem is my compiler can’t find GL_GENERATE_MIPMAP, so I searched for it myself in the header (gl.h), but I can’t find it.

I suppose mi version of ‘gl.h’ is previous to the addition of the flag. If so, where can I find an updated one?

Is there another way to automatically generate mipmaps without GLUT?

Alex

It is part of OpenGL 1.4 if that helps.

I found a more recent header from Mesa3D and it seems to work fine.

Thanks.