title: SDL2 opengl link error on Windows
body: <p>I want to use SDL2 with OpenGL on Windows / Visual Studio 12</p>
  
  <p>My source code includes SDL_opengl.h and compiles fine (it is using functions like glBindBuffer(), glGenBuffers()...)</p>
  
  <p>I have added the following dependencies to the linker input: SDL2.lib;SDL2main.lib;opengl32.lib</p>
  
  <p>However, the link fails with error:
      error LNK2019: unresolved external symbol _glBindBuffer@8 </p>
  
  <p>And a few more of those.</p>
  
  <p>Other functions like glEnable() and glClear() do link with no problem.</p>
  
  <p>Any idea why?</p>
  
  <p>Should I use GLEW?
  If this is the case, why would glBindBuffer(), glGenBuffer(), ... be declared in SDL_opengl.h?</p>