diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-10-31 19:45:17 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-11-01 10:46:04 +0100 |
commit | f7801e5d82d272d53db6925a325391e5da5c842e (patch) | |
tree | c44b8d9cd6218b470406cfe09dc8dcf21a5a7b2d /platform/android/src/native_map_view.hpp | |
parent | dfd4057121fa4214d75158687d838d13bab02d19 (diff) | |
download | qtlocation-mapboxgl-f7801e5d82d272d53db6925a325391e5da5c842e.tar.gz |
[core] correctly set the framebuffer size on retina screens
Also asserts in Debug mode that the internal state and the OpenGL state are identical
Diffstat (limited to 'platform/android/src/native_map_view.hpp')
-rwxr-xr-x | platform/android/src/native_map_view.hpp | 1 |
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 43fb0c1ccd..09619802ce 100755 --- a/platform/android/src/native_map_view.hpp +++ b/platform/android/src/native_map_view.hpp @@ -20,6 +20,7 @@ public: NativeMapView(JNIEnv *env, jobject obj, float pixelRatio, int availableProcessors, size_t totalMemory); virtual ~NativeMapView(); + mbgl::Size getFramebufferSize() const; void updateViewBinding(); void bind() override; |