From bfa0b7f009c2460f81f5e4cbfdf251a2589a618a Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 28 Aug 2014 17:13:55 -0700 Subject: Remove vtxMatrix state --- include/mbgl/renderer/painter.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include/mbgl') diff --git a/include/mbgl/renderer/painter.hpp b/include/mbgl/renderer/painter.hpp index 957660a525..6801ad1cf7 100644 --- a/include/mbgl/renderer/painter.hpp +++ b/include/mbgl/renderer/painter.hpp @@ -120,7 +120,7 @@ public: bool needsAnimation() const; private: void setupShaders(); - const mat4 &translatedMatrix(const mat4& matrix, const std::array &translation, const Tile::ID &id, TranslateAnchorType anchor = TranslateAnchorType::Map); + mat4 translatedMatrix(const mat4& matrix, const std::array &translation, const Tile::ID &id, TranslateAnchorType anchor = TranslateAnchorType::Map); void prepareTile(const Tile& tile); @@ -131,7 +131,6 @@ public: void depthRange(float near, float far); public: - mat4 vtxMatrix; mat4 projMatrix; mat4 nativeMatrix; mat4 extrudeMatrix; -- cgit v1.2.1