summaryrefslogtreecommitdiff
path: root/include/mbgl
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-08-28 16:39:29 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-08-28 16:43:03 -0700
commitc13cc4aa3818502a9ca505ea218dead57cbbbb5f (patch)
treec6af1f2876d0fc75b41dc172a91ed219d8082cbe /include/mbgl
parentfd40bde61207c47710dba2d1587d90e505ed6837 (diff)
downloadqtlocation-mapboxgl-c13cc4aa3818502a9ca505ea218dead57cbbbb5f.tar.gz
Record frame history in the correct place
Fixes numerous issues with rendering tests.
Diffstat (limited to 'include/mbgl')
-rw-r--r--include/mbgl/renderer/painter.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mbgl/renderer/painter.hpp b/include/mbgl/renderer/painter.hpp
index e2d56b1514..957660a525 100644
--- a/include/mbgl/renderer/painter.hpp
+++ b/include/mbgl/renderer/painter.hpp
@@ -153,8 +153,6 @@ public:
private:
Map& map;
- FrameHistory frameHistory;
-
bool debug = false;
uint32_t gl_program = 0;
@@ -167,6 +165,8 @@ private:
const float strata_epsilon = 1.0f / (1 << 16);
public:
+ FrameHistory frameHistory;
+
std::unique_ptr<PlainShader> plainShader;
std::unique_ptr<OutlineShader> outlineShader;
std::unique_ptr<LineShader> lineShader;