summaryrefslogtreecommitdiff
path: root/src/style
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-07-29 17:03:08 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-08-27 18:22:20 -0700
commite2c2ab843e5532b5bf627370ed8037121b961a8d (patch)
tree849c98e326309c6717dc344d0bc983f639a1dfdc /src/style
parenta62a826b56b0150b3aebe81fb2b42fe6eb84c0b6 (diff)
downloadqtlocation-mapboxgl-e2c2ab843e5532b5bf627370ed8037121b961a8d.tar.gz
Render background with plain shader
Diffstat (limited to 'src/style')
-rw-r--r--src/style/style.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/style/style.cpp b/src/style/style.cpp
index ee930751ea..6f0a0e3b28 100644
--- a/src/style/style.cpp
+++ b/src/style/style.cpp
@@ -103,15 +103,4 @@ void Style::loadJSON(const uint8_t *const data) {
updateClasses();
}
-const BackgroundProperties &Style::getBackgroundProperties() const {
- if (layers && layers->layers.size()) {
- const auto first = layers->layers.front();
- if (first && first->type == StyleLayerType::Background) {
- return first->getProperties<BackgroundProperties>();
- }
- }
-
- return defaultStyleProperties<BackgroundProperties>();
-}
-
}