summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2017-08-10 11:47:31 -0700
committerTobrun <tobrun@mapbox.com>2017-08-18 11:43:24 +0200
commit1188707dc3ca6d88349d4bf323d03e3e93c0e548 (patch)
tree66e7b49b70caf5685d6d6dca6a2eee377e010452 /include
parentc7d7319c77dd138cac487eda2232f9bc3bc7d0b6 (diff)
downloadqtlocation-mapboxgl-1188707dc3ca6d88349d4bf323d03e3e93c0e548.tar.gz
[core] Use separate attribute component for line normals
Selective cherry pick of 822df3dd514ec3d05f876e6746cb8ba6348ac89d
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/util/constants.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mbgl/util/constants.hpp b/include/mbgl/util/constants.hpp
index 0f2779e33b..dbc4bddde5 100644
--- a/include/mbgl/util/constants.hpp
+++ b/include/mbgl/util/constants.hpp
@@ -19,7 +19,8 @@ constexpr float tileSize = 512;
*
* Positions are stored as signed 16bit integers.
* One bit is lost for signedness to support features extending past the left edge of the tile.
- * One bit is lost because the line vertex buffer packs 1 bit of other data into the int.
+ * One bit is lost because the line vertex buffer used to pack 1 bit of other data into the int.
+ * This is no longer the case but we're reserving this bit anyway.
* One bit is lost to support features extending past the extent on the right edge of the tile.
* This leaves us with 2^13 = 8192
*/