summaryrefslogtreecommitdiff
path: root/platform/android/src/native_map_view.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-11-09 12:59:56 +0100
committerKonstantin Käfer <mail@kkaefer.com>2016-11-10 17:04:18 +0100
commit108a28faa88745ee15de0c29990b3bda9a3ea9e6 (patch)
treef0e7764d6e454e7021c96c67b274b59a061f96b7 /platform/android/src/native_map_view.hpp
parentd0e8ed4bc30c62b5b6894534e4cf816acb414efa (diff)
downloadqtlocation-mapboxgl-108a28faa88745ee15de0c29990b3bda9a3ea9e6.tar.gz
[android] update viewport size when framebuffer size changed
Diffstat (limited to 'platform/android/src/native_map_view.hpp')
-rwxr-xr-xplatform/android/src/native_map_view.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/platform/android/src/native_map_view.hpp b/platform/android/src/native_map_view.hpp
index 09619802ce..18f9ebc144 100755
--- a/platform/android/src/native_map_view.hpp
+++ b/platform/android/src/native_map_view.hpp
@@ -90,6 +90,7 @@ private:
int height = 0;
int fbWidth = 0;
int fbHeight = 0;
+ bool framebufferSizeChanged = true;
int availableProcessors = 0;
size_t totalMemory = 0;