move rendering mode enum to MapData object

This commit is contained in:
Konstantin Käfer
2015-03-24 11:55:20 +01:00
committed by John Firebaugh
parent fa272b3aaa
commit 9dc51e7f80
5 changed files with 37 additions and 27 deletions

View File

@@ -48,6 +48,7 @@ util::ptr<Sprite> MapContext::getSprite() {
}
void MapContext::triggerRender() {
assert(data.mode == MapMode::Continuous);
assert(asyncRender);
asyncRender->send();
}