Pink Screen with SDL2 and OpenGL

Inspired by the recent episodes, I decided to make a bare bones crossplatform OpenGL example with SDL2. This code creates a pink screen, exactly like the end of HH episode 235. You can press escape to exit and f to toggle fullscreen. I've tested the code on both Windows 7 and Ubuntu 14.04.

The example is here on github in one file.

Once you install SDL2 and have this pink screen example compiling, you can follow along with Casey's episode 237 with the exact step he takes to get get a pixel buffer on screen.

Thought I'd share as someone might find this useful.