map.[ch]: Add comments
Use tree density when generating trees instead of water density.

Coding style fix.
Enhence error handling when seeding the map.
render_texture: Make sure we are only writing to data.
Oops, fix a wrong index when assigning data. Also bind VBO when rendering.
Use one VAO and one VBO for rendering the map.