summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/tile_pyramid.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-08-12 11:20:49 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2017-08-24 13:06:23 -0700
commite706ed4b2ee8d73e17146b33b2c91463b7186777 (patch)
tree76375e15c031d169474a864b2dfa13c7485727be /src/mbgl/renderer/tile_pyramid.hpp
parent3d3648387bd3cfc8e330a0a729decd68ae37f96e (diff)
downloadqtlocation-mapboxgl-e706ed4b2ee8d73e17146b33b2c91463b7186777.tar.gz
[core] Avoid RenderStyle dependency in query code
Diffstat (limited to 'src/mbgl/renderer/tile_pyramid.hpp')
-rw-r--r--src/mbgl/renderer/tile_pyramid.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/renderer/tile_pyramid.hpp b/src/mbgl/renderer/tile_pyramid.hpp
index d940f378fa..3bf9dc75d4 100644
--- a/src/mbgl/renderer/tile_pyramid.hpp
+++ b/src/mbgl/renderer/tile_pyramid.hpp
@@ -21,7 +21,7 @@ namespace mbgl {
class PaintParameters;
class TransformState;
class RenderTile;
-class RenderStyle;
+class RenderLayer;
class RenderedQueryOptions;
class SourceQueryOptions;
class TileParameters;
@@ -50,7 +50,7 @@ public:
std::unordered_map<std::string, std::vector<Feature>>
queryRenderedFeatures(const ScreenLineString& geometry,
const TransformState& transformState,
- const RenderStyle& style,
+ const std::vector<const RenderLayer*>&,
const RenderedQueryOptions& options) const;
std::vector<Feature> querySourceFeatures(const SourceQueryOptions&) const;