开发者

OpenGL constant don't exist

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜