release mode: silent debug output + ifdef any potentially expensive calls

This commit is contained in:
Dane Springmeyer
2014-05-29 18:07:19 -07:00
parent 0b9c45721f
commit f5394a7638
14 changed files with 63 additions and 12 deletions

View File

@@ -54,7 +54,9 @@ void Sprite::complete(std::shared_ptr<Sprite> &sprite) {
if (sprite->raster && sprite->pos.size()) {
sprite->loaded = true;
sprite->map.update();
#if defined(DEBUG)
fprintf(stderr, "sprite loaded\n");
#endif
}
}