Revert "Don't leak textures all over the place"
authorPerttu Ahola <celeron55@gmail.com>
Sun, 25 Nov 2012 14:39:07 +0000 (16:39 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 25 Nov 2012 14:39:07 +0000 (16:39 +0200)
commite02b95741bb0953a4322955bfab18511ff31511d
tree3ceb3b96a7c57f72d5d710267ac3db3e8a32e6a8
parentbbd990f2cca59b9e5775707ba24fbab21a0c6164
Revert "Don't leak textures all over the place"

This causes textures to be deleted before they are no longer accessed,
resulting in a segmentation fault. This needs to be rewritten in such a way
that textures are deleted when the client disconnects from a server.

This reverts commit 41c00e87d42580881d8c7001f39014814e3b55f2.
src/mesh.cpp
src/tile.cpp