diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2014-08-28 16:39:29 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2014-08-28 16:43:03 -0700 |
commit | c13cc4aa3818502a9ca505ea218dead57cbbbb5f (patch) | |
tree | c6af1f2876d0fc75b41dc172a91ed219d8082cbe /include/mbgl | |
parent | fd40bde61207c47710dba2d1587d90e505ed6837 (diff) | |
download | qtlocation-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.hpp | 4 |
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; |