summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/buckets/hillshade_bucket.cpp
diff options
context:
space:
mode:
authorMolly Lloyd <molly@mapbox.com>2018-02-13 17:53:14 -0800
committerMolly Lloyd <molly@mapbox.com>2018-02-13 17:57:47 -0800
commite7aa8e1b8d94ace7eda3224f39fccc3fb31835d7 (patch)
tree7ba55978ab95470341ff251a1c6bd64e80c36493 /src/mbgl/renderer/buckets/hillshade_bucket.cpp
parent0bbd54c61b34abd112dc85ccaf6c31fee31401e9 (diff)
downloadqtlocation-mapboxgl-upstream/mapzen-terrarium.tar.gz
Encoding --> DEMEncoding, avoid if statement when unpacking elevation valuesupstream/mapzen-terrarium
Diffstat (limited to 'src/mbgl/renderer/buckets/hillshade_bucket.cpp')
-rw-r--r--src/mbgl/renderer/buckets/hillshade_bucket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/buckets/hillshade_bucket.cpp b/src/mbgl/renderer/buckets/hillshade_bucket.cpp
index 1785f48365..00b9536894 100644
--- a/src/mbgl/renderer/buckets/hillshade_bucket.cpp
+++ b/src/mbgl/renderer/buckets/hillshade_bucket.cpp
@@ -8,7 +8,7 @@ namespace mbgl {
using namespace style;
-HillshadeBucket::HillshadeBucket(PremultipliedImage&& image_, Tileset::Encoding encoding): demdata(image_, encoding) {
+HillshadeBucket::HillshadeBucket(PremultipliedImage&& image_, Tileset::DEMEncoding encoding): demdata(image_, encoding) {
}
HillshadeBucket::HillshadeBucket(DEMData&& demdata_) : demdata(std::move(demdata_)) {