summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-01-19 13:32:22 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-01-19 13:34:56 -0800
commit6709bdcacd5a45a10b554f3f225206c9494e5e43 (patch)
tree0117df5dcf6eadad1d6b6c5208b41a782e46258b /src
parent2010fbb0e61cbe7c0b08560118ca887fc1d7193e (diff)
downloadqtlocation-mapboxgl-6709bdcacd5a45a10b554f3f225206c9494e5e43.tar.gz
Revert WebP support due to broken builds
This reverts commits 2010fbb0e61cbe7c0b08560118ca887fc1d7193e, a361ce47a19d37b96b48cd605c62c5ab79bba462, and d004bb275ae3ea60bb6c2febd6fa22f1f51c3993.
Diffstat (limited to 'src')
-rw-r--r--src/mbgl/util/mapbox.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mbgl/util/mapbox.cpp b/src/mbgl/util/mapbox.cpp
index d94a9a5f7d..067c9918cc 100644
--- a/src/mbgl/util/mapbox.cpp
+++ b/src/mbgl/util/mapbox.cpp
@@ -129,12 +129,6 @@ std::string normalizeRasterTileURL(const std::string& url) {
}
std::string normalizedURL(url);
-#if !defined(__ANDROID__) && !defined(__APPLE__)
- // Replace PNG with WebP.
- if (normalizedURL.compare(extensionIdx + 1, 3, "png") == 0) {
- normalizedURL.replace(extensionIdx + 1, 3, "webp");
- }
-#endif // !defined(__ANDROID__) && !defined(__APPLE__)
normalizedURL.insert(extensionIdx, "{ratio}");
return normalizedURL;
}