I haven't got GL_GENERATE_MIPMAP_HINT, GL_GENERATE_MIPMAP constatns,开发者_如何学JAVA why ? I have old version of opengl ? Where can I download new library version ?
From here: http://www.opengl.org/wiki/Getting_started#OpenGL_2.0.2B_and_extensions
For Linux: http://www.opengl.org/registry/api/glext.h
For GLX: http://www.opengl.org/registry/api/glxext.h
For Windows: http://www.opengl.org/registry/api/wglext.h
For easier access to OpenGL extensions (inc. constant values and function bindings) you can either use glew or glee. Interfaces in both of these libraries are similar. Glew provides access to the newest OpenGL extensions and core specifications.
精彩评论