From c13cc4aa3818502a9ca505ea218dead57cbbbb5f Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 28 Aug 2014 16:39:29 -0700 Subject: Record frame history in the correct place Fixes numerous issues with rendering tests. --- include/mbgl/renderer/painter.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/mbgl') 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; std::unique_ptr outlineShader; std::unique_ptr lineShader; -- cgit v1.2.1