summaryrefslogtreecommitdiff
path: root/include/mbgl/platform/default
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-08-22 17:57:22 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-09-27 10:42:10 +0200
commit63e53de157e75e504a6bf1a678cebaea5acf72b9 (patch)
tree234cb14695f21df69012f1470ee512b8fc8d9904 /include/mbgl/platform/default
parent512037cfdc14fb1f7686254efe97b72433c5e4b6 (diff)
downloadqtlocation-mapboxgl-63e53de157e75e504a6bf1a678cebaea5acf72b9.tar.gz
[core] standardize on uint16_t for texture sizes
Diffstat (limited to 'include/mbgl/platform/default')
-rw-r--r--include/mbgl/platform/default/headless_view.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp
index 89716643d4..c0ffd27fbf 100644
--- a/include/mbgl/platform/default/headless_view.hpp
+++ b/include/mbgl/platform/default/headless_view.hpp
@@ -45,7 +45,7 @@ public:
void deactivate() override;
void notifyMapChange(MapChange) override;
- PremultipliedImage readStillImage() override;
+ PremultipliedImage readStillImage(std::array<uint16_t, 2> size = {{ 0, 0 }}) override;
void resize(uint16_t width, uint16_t height);
void setMapChangeCallback(std::function<void(MapChange)>&& cb) { mapChangeCallback = std::move(cb); }