Record frame history in the correct place

Fixes numerous issues with rendering tests.
This commit is contained in:
John Firebaugh
2014-08-28 16:39:29 -07:00
parent fd40bde612
commit c13cc4aa38
3 changed files with 4 additions and 3 deletions

View File

@@ -179,7 +179,6 @@ void Painter::renderTileLayer(const Tile& tile, std::shared_ptr<StyleLayer> laye
gl::group group(util::sprintf<32>("render %d/%d/%d\n", tile.id.z, tile.id.y, tile.id.z));
prepareTile(tile);
tile.data->render(*this, layer_desc, matrix);
frameHistory.record(map.getAnimationTime(), map.getState().getNormalizedZoom());
}
}