no need to call separate function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user