Example code for learning OpenGL on a Mac.