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

@@ -559,6 +559,8 @@ void Map::render() {
painter.drawClippingMasks(getActiveSources());
painter.frameHistory.record(getAnimationTime(), getState().getNormalizedZoom());
// Actually render the layers
if (debug::renderTree) { std::cout << "{" << std::endl; indent++; }
renderLayers(style->layers);