summaryrefslogtreecommitdiff
path: root/include/mbgl/renderer
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2014-09-04 15:38:14 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2014-09-04 15:38:14 -0700
commitc14ae3c477617d284d50daff668ab5716ff9a771 (patch)
treec31407d589a67725849663d176d82c25f4b082b6 /include/mbgl/renderer
parent4694aa40ada7d33732806f7fbb50b9abb2c412da (diff)
downloadqtlocation-mapboxgl-c14ae3c477617d284d50daff668ab5716ff9a771.tar.gz
Fix text/icon-translate-anchor
These are style properties, not render properties.
Diffstat (limited to 'include/mbgl/renderer')
-rw-r--r--include/mbgl/renderer/painter.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mbgl/renderer/painter.hpp b/include/mbgl/renderer/painter.hpp
index 534323dd5d..52536e0a75 100644
--- a/include/mbgl/renderer/painter.hpp
+++ b/include/mbgl/renderer/painter.hpp
@@ -120,7 +120,7 @@ public:
bool needsAnimation() const;
private:
void setupShaders();
- mat4 translatedMatrix(const mat4& matrix, const std::array<float, 2> &translation, const Tile::ID &id, TranslateAnchorType anchor = TranslateAnchorType::Map);
+ mat4 translatedMatrix(const mat4& matrix, const std::array<float, 2> &translation, const Tile::ID &id, TranslateAnchorType anchor);
void prepareTile(const Tile& tile);