[core] correctly set the framebuffer size on retina screens
Also asserts in Debug mode that the internal state and the OpenGL state are identical
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user