no need to call separate function

This commit is contained in:
Konstantin Käfer
2014-04-09 18:21:24 -04:00
parent 189b895145
commit f6ee93e96d

View File

@@ -178,7 +178,7 @@ public:
if (dirty) {
try {
dirty = render();
dirty = map.render();
} catch (std::exception& ex) {
fprintf(stderr, "exception: %s\n", ex.what());
}
@@ -196,10 +196,6 @@ public:
return 0;
}
bool render() {
return map.render();
}
void fps() {
static int frames = 0;
static double time_elapsed = 0;