openglbook-samples icon indicating copy to clipboard operation
openglbook-samples copied to clipboard

Chapter 2 segfault

Open Budlee opened this issue 10 years ago • 2 comments

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

Budlee avatar Mar 13 '15 11:03 Budlee

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/

blairjam avatar Feb 21 '16 07:02 blairjam

Here to confirm the issue still exists (more than a year after the report). Thank you Budlee for the fix.

stevenwalton avatar May 11 '16 21:05 stevenwalton