![]() ![]() It calls glGetString(GL_EXTENSIONS), which causes GL_INVALID_ENUM on GL 3.2+ core context as soon as glewInit() is called. GLEW up to version 1.13.0 has a problem with core contexts. Initialization of GLEW 1.13.0 and earlier The latest release as of June 2021 is version 2.2.0. If you include glxext.h before glxew.h, GLEW will complain. GLEW also provides glxew.h for X windows systems. If you include wglext.h before wglew.h, GLEW will complain. GLEW also provides wglew.h which provides Windows specific GL functions (wgl functions). ![]() In fact, you shouldn't be including gl.h at all glew.h replaces it. It supports Windows, MacOS X, Linux, and FreeBSD.Īs with most other loaders, you should not include gl.h, glext.h, or any other gl related header file before glew.h, otherwise you'll get an error message that you have included gl.h before glew.h. The OpenGL Extension Wrangler library provides access to all GL entrypoints. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |