summaryrefslogtreecommitdiff
path: root/src/mbgl/style/source_impl.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-10-14 14:53:57 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-11-02 18:24:32 +0100
commitf30bdfca9c5ae139d58f93bbcbc4f167577e21f4 (patch)
tree37ffaa11d45d0580d3577fd95d877a21fd65d165 /src/mbgl/style/source_impl.cpp
parent549929cefd7073708e64e49da93e8b49fbc0db99 (diff)
downloadqtlocation-mapboxgl-upstream/terrain-rendering.tar.gz
[core] implement terrain renderingupstream/terrain-rendering
Diffstat (limited to 'src/mbgl/style/source_impl.cpp')
-rw-r--r--src/mbgl/style/source_impl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mbgl/style/source_impl.cpp b/src/mbgl/style/source_impl.cpp
index afaa94878c..f601796c98 100644
--- a/src/mbgl/style/source_impl.cpp
+++ b/src/mbgl/style/source_impl.cpp
@@ -55,6 +55,7 @@ void Source::Impl::startRender(algorithm::ClipIDGenerator& generator,
const mat4& projMatrix,
const TransformState& transform) {
if (type == SourceType::Vector ||
+ type == SourceType::Raster ||
type == SourceType::GeoJSON ||
type == SourceType::Annotations) {
generator.update(renderTiles);