A small example to get started in OpenGL / SDL2 development on Win32.
Based on sdl2-opengl-sample.c at http://www.brandonfoltz.com/2013/12/example-using-opengl-3-0-with-sdl2-and-glew/
Dependencies: Visual Studio 2013 Express edition.
Compiling and running:
- Open glsdl2sample.sln, hit F7 (compile solution)
- Go to the newly created directory Build/win32 and run glsdl2sample.exe