openglbook-samples
openglbook-samples copied to clipboard
Chapter 2 segfault
Hi,
I got an error when I called: glGenVertexArrays(1, &VaoId) I found that I had to add the following just before my glewInit(): glewExperimental = GL_TRUE; I was thinking that a note in the chapter would be useful as it would save a little time for people goggling
Also I think this book is freaking awesome and a great intro into opengl. Really appreciate the effot you have put into it
This is still a problem. The blog gives the exact fix @Budlee described. Perhaps it's time to add this to the actual code in the chapter.
http://openglbook.com/blog/glgenvertexarrays-access-violationsegfault-with-glew/
Here to confirm the issue still exists (more than a year after the report). Thank you Budlee for the fix.