title: Program Crash on glGenVertexArrays call
body: <p>I am trying to learn how to program in opengl and am using <a href="http://www.opengl-tutorial.org/" rel="noreferrer">this tutorial</a>. Tutorial 1 works fine, tutorial 2 crashes with return 1. </p>
  
  <p>It fails on this:</p>
  
  <pre><code>GLuint VertexArrayID;
  glGenVertexArrays(1, &amp;VertexArrayID);
  glBindVertexArray(VertexArrayID);
  </code></pre>
  
  <p>Specifically:</p>
  
  <pre><code>glGenVertexArrays(1, &amp;VertexArrayID);
  </code></pre>
  
  <p>Any suggestions? Also related but never solved <a href="https://stackoverflow.com/questions/11104047/opengl-freeglut-and-glew-crash-with-glgenvertexarrays-call">OpenGL, FreeGlut and Glew crash with glGenVertexArrays call</a></p>