A simple example of using 2d textures int modern opengl