render shapes, but only the first one is drawn?

This commit is contained in:
Konstantin Käfer
2014-01-22 18:07:30 +01:00
parent 0f74a4bc90
commit 1ad5970a00
5 changed files with 151 additions and 18 deletions

View File

@@ -51,6 +51,8 @@ Tile::Tile(ID id)
}
Tile::~Tile() {
std::lock_guard<std::mutex> lock(mtx);
// fprintf(stderr, "[%p] deleting tile %d/%d/%d\n", this, id.z, id.x, id.y);
if (this->data) {
free(this->data);