diff options
author | Molly Lloyd <molly@mapbox.com> | 2018-01-10 17:49:03 -0800 |
---|---|---|
committer | Molly Lloyd <molly@mapbox.com> | 2018-01-17 09:49:33 -0800 |
commit | 9923ba8c41b4e9adc37c75fe66b36afe4b9a1fb0 (patch) | |
tree | 519b369be40224a3c3262247d90e0127d0667e02 /src/mbgl/renderer | |
parent | bd0e4b7aa5b9e7f0bc2f1e4f8bdda245f37fd8c9 (diff) | |
download | qtlocation-mapboxgl-9923ba8c41b4e9adc37c75fe66b36afe4b9a1fb0.tar.gz |
address review comments
Diffstat (limited to 'src/mbgl/renderer')
-rw-r--r-- | src/mbgl/renderer/layers/render_hillshade_layer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mbgl/renderer/layers/render_hillshade_layer.cpp b/src/mbgl/renderer/layers/render_hillshade_layer.cpp index 81b3bcd94e..77c352a3a2 100644 --- a/src/mbgl/renderer/layers/render_hillshade_layer.cpp +++ b/src/mbgl/renderer/layers/render_hillshade_layer.cpp @@ -94,7 +94,6 @@ void RenderHillshadeLayer::render(PaintParameters& parameters, RenderSource*) { assert(dynamic_cast<HillshadeBucket*>(tile.tile.getBucket(*baseImpl))); HillshadeBucket& bucket = *reinterpret_cast<HillshadeBucket*>(tile.tile.getBucket(*baseImpl)); - if (!bucket.hasData()) continue; if (!bucket.prepared && parameters.pass == RenderPass::Pass3D) { |