View Full Version : [RESOLVED] Where is GL_GENERATE_MIPMAP?

05-01-2008, 04:43 PM
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?


Nicolai de Haan
05-01-2008, 05:14 PM
It is part of OpenGL 1.4 if that helps.

05-01-2008, 05:34 PM
I found a more recent header from Mesa3D and it seems to work fine.