summaryrefslogtreecommitdiff
path: root/src/mbgl/renderer/painter.hpp
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2016-07-05 12:26:50 -0700
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-07-07 14:18:00 -0700
commitc8e87128b1e9f1e49c486fa01533644cf14c78e8 (patch)
treedc3970708d789f9a352c7cf6850302064b746150 /src/mbgl/renderer/painter.hpp
parent2e10c0a8660af9cdf6ff897aaa39e15fe62c6582 (diff)
downloadqtlocation-mapboxgl-c8e87128b1e9f1e49c486fa01533644cf14c78e8.tar.gz
[core] Make extrudeScale calculations more similar to JS
Diffstat (limited to 'src/mbgl/renderer/painter.hpp')
-rw-r--r--src/mbgl/renderer/painter.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/renderer/painter.hpp b/src/mbgl/renderer/painter.hpp
index 03885ed49e..5e8831b239 100644
--- a/src/mbgl/renderer/painter.hpp
+++ b/src/mbgl/renderer/painter.hpp
@@ -159,7 +159,7 @@ private:
mat4 projMatrix;
mat4 nativeMatrix;
- std::array<float, 2> extrudeScale;
+ std::array<float, 2> pixelsToGLUnits;
// used to composite images and flips the geometry upside down
const mat4 flipMatrix = []{