From 64203ba53fa2384db60476afa9041b0d656cca1c Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Tue, 18 Jul 2017 16:11:44 -0700 Subject: [core] Refactor Painter away --- src/mbgl/renderer/tile_pyramid.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mbgl/renderer/tile_pyramid.cpp') diff --git a/src/mbgl/renderer/tile_pyramid.cpp b/src/mbgl/renderer/tile_pyramid.cpp index 8d15bd59ab..219f154675 100644 --- a/src/mbgl/renderer/tile_pyramid.cpp +++ b/src/mbgl/renderer/tile_pyramid.cpp @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include #include @@ -39,15 +39,15 @@ bool TilePyramid::isLoaded() const { return true; } -void TilePyramid::startRender(Painter& painter) { +void TilePyramid::startRender(PaintParameters& parameters) { for (auto& tile : renderTiles) { - tile.startRender(painter); + tile.startRender(parameters); } } -void TilePyramid::finishRender(Painter& painter) { +void TilePyramid::finishRender(PaintParameters& parameters) { for (auto& tile : renderTiles) { - tile.finishRender(painter); + tile.finishRender(parameters); } } -- cgit v1.2.1