title: Drawing a minimap (game)
body: <p>I'm making a rts game, and have created a 2d array containing the map tiles. I'd like to transfer this to an image (an unsigned int or a sdl surface?) and I would likely draw this onto a gl Quad. I'd likely just use 2 for loops to draw the entire map each frame. The problem is, I don't know the syntax of how to do this.</p>
  
  <p>I'd like the map size to be flexible (probably always a square), and therefore the minimap has to also be flexible.</p>
  
  <p>If I can find out the syntax of how to create an image from scratch (or understand how an unsigned int can be interpreted as an image?) and draw each pixel, this would completely resolve my issue.</p>