diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-21 15:02:30 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2015-04-28 14:32:22 -0400 |
commit | 6c7a01a503530843f88d240988514dc3f40795a7 (patch) | |
tree | 8009756e3d5edb66a50daed49d96e97b540959f7 /include/mbgl/platform | |
parent | 75ae956b0e598685117f7f72231677d8841cbea3 (diff) | |
download | qtlocation-mapboxgl-6c7a01a503530843f88d240988514dc3f40795a7.tar.gz |
Following kkaefer's view changes
Diffstat (limited to 'include/mbgl/platform')
-rw-r--r-- | include/mbgl/platform/default/headless_view.hpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/mbgl/platform/default/headless_view.hpp b/include/mbgl/platform/default/headless_view.hpp index fd7a69f96d..a0a3847c83 100644 --- a/include/mbgl/platform/default/headless_view.hpp +++ b/include/mbgl/platform/default/headless_view.hpp @@ -35,7 +35,6 @@ public: void deactivate() override; void notify() override; void invalidate(std::function<void()> render) override; - void discard() override; std::unique_ptr<StillImage> readStillImage() override; private: @@ -57,12 +56,7 @@ private: float pixelRatio = 0; }; - // These are the values that represent the state of the current framebuffer. - Dimensions current; - - // These are the values that will be used after the next discard() event. - std::mutex prospectiveMutex; - Dimensions prospective; + Dimensions dimensions; #if MBGL_USE_CGL CGLContextObj glContext = nullptr; |