Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VertexArrayObject functions not initialized in GL 3.0 and up #10

Closed
floooh opened this issue Mar 16, 2014 · 3 comments
Closed

VertexArrayObject functions not initialized in GL 3.0 and up #10

floooh opened this issue Mar 16, 2014 · 3 comments

Comments

@floooh
Copy link

floooh commented Mar 16, 2014

It looks like the vertex array object function pointers (glGenVertexArrays, glDeleteVertexArrays, glBindVertexArray) are not setup as part of glewInit() on GL 3.0 and up. These functions should be available as vanilla GL functions from GL 3.0 and up (see https://www.opengl.org/registry/doc/glspec30.20080811.pdf). I noticed this on OSX when setting up a 3.2 core profile context (but on the other hand, GLEW is redundant in this scenario, since the core profile doesn't expose any extensions). It still might be a bug in GLEW though.

@nigels-com
Copy link
Owner

The bug is that GLEW doesn't properly support core OpenGL contexts, in my opinion.

@stopiccot
Copy link
Contributor

I would vote for core context support as number one priority feature in next releases

@nigels-com nigels-com modified the milestone: GLEW 2.0.0 Apr 3, 2016
@nigels-com
Copy link
Owner

Likely resolved in GLEW 2.0.0, closing.
Thanks for the report.

chkob pushed a commit to chkob/glew that referenced this issue Feb 23, 2018
Updated generated source and headers with latest OpenGL registry.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants