diff options
author | Lucas Wojciechowski <lucas@mapbox.com> | 2015-08-20 15:50:39 -0700 |
---|---|---|
committer | Lucas Wojciechowski <lucas@mapbox.com> | 2015-08-21 14:39:26 -0700 |
commit | e97662972fef0e56132a03f2c2510c0da8537aad (patch) | |
tree | 00c1725ad6a64928f42bbf0924d320def23ea08c /platform | |
parent | b7a4000a3ce273d6f5024df7dc02b68112999f94 (diff) | |
download | qtlocation-mapboxgl-e97662972fef0e56132a03f2c2510c0da8537aad.tar.gz |
Support v8 sprite, glyph, and style mapbox:// urls
Diffstat (limited to 'platform')
-rw-r--r-- | platform/default/sqlite_cache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/default/sqlite_cache.cpp b/platform/default/sqlite_cache.cpp index 775c2a68a1..9d5d0541e8 100644 --- a/platform/default/sqlite_cache.cpp +++ b/platform/default/sqlite_cache.cpp @@ -217,7 +217,7 @@ void SQLiteCache::Impl::put(const Resource& resource, std::shared_ptr<const Resp putStmt->bind(6 /* expires */, response->expires); std::string data; - if (resource.kind != Resource::Image) { + if (resource.kind != Resource::SpriteImage) { // Do not compress images, since they are typically compressed already. data = util::compress(response->data); } |