Buggering around with SDL.
Pong example.
Playing with glfw.