dont make_active when clearing buffers, call make_inactive at end of Map::prepare()

This commit is contained in:
Mike Morris
2014-09-16 18:00:52 -04:00
parent 70aaf8d343
commit 9d369ec742
2 changed files with 2 additions and 5 deletions

View File

@@ -154,7 +154,6 @@ void Map::cleanup(uv_async_t *async, int status) {
void Map::terminate() {
view.make_active();
painter.terminate();
view.make_inactive();
}
void Map::render(uv_async_t *async, int status) {
@@ -545,6 +544,8 @@ void Map::prepare() {
spriteAtlas->update(*getSprite());
updateTiles();
view.make_inactive();
}
void Map::render() {