summaryrefslogtreecommitdiff
path: root/include/mbgl/platform
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2015-04-21 15:02:30 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2015-04-28 14:32:22 -0400
commit6c7a01a503530843f88d240988514dc3f40795a7 (patch)
tree8009756e3d5edb66a50daed49d96e97b540959f7 /include/mbgl/platform
parent75ae956b0e598685117f7f72231677d8841cbea3 (diff)
downloadqtlocation-mapboxgl-6c7a01a503530843f88d240988514dc3f40795a7.tar.gz
Following kkaefer's view changes
Diffstat (limited to 'include/mbgl/platform')
-rw-r--r--include/mbgl/platform/default/headless_view.hpp8
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;