move rendering mode enum to MapData object
This commit is contained in:
committed by
John Firebaugh
parent
fa272b3aaa
commit
9dc51e7f80
@@ -48,6 +48,7 @@ util::ptr<Sprite> MapContext::getSprite() {
|
||||
}
|
||||
|
||||
void MapContext::triggerRender() {
|
||||
assert(data.mode == MapMode::Continuous);
|
||||
assert(asyncRender);
|
||||
asyncRender->send();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user