From f7801e5d82d272d53db6925a325391e5da5c842e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20K=C3=A4fer?= Date: Mon, 31 Oct 2016 19:45:17 +0100 Subject: [core] correctly set the framebuffer size on retina screens Also asserts in Debug mode that the internal state and the OpenGL state are identical --- platform/android/src/native_map_view.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'platform/android/src/native_map_view.hpp') 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; -- cgit v1.2.1