summaryrefslogtreecommitdiff
path: root/src/mbgl/programs
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2017-01-19 16:36:19 +0100
committerKonstantin Käfer <mail@kkaefer.com>2017-01-23 17:02:40 +0100
commita37ae27aed97af00a12cb5123264f47bd1fe3427 (patch)
tree78fefe5b4d14dd74efcc23ff2a1a34199cf34131 /src/mbgl/programs
parentf1c3cfb7e2d46a4563d680bcab888fa01b2ca160 (diff)
downloadqtlocation-mapboxgl-a37ae27aed97af00a12cb5123264f47bd1fe3427.tar.gz
[core] fix rendering 180° line joins
Diffstat (limited to 'src/mbgl/programs')
-rw-r--r--src/mbgl/programs/line_program.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/programs/line_program.hpp b/src/mbgl/programs/line_program.hpp
index 9b97cc47a9..4c2f76f402 100644
--- a/src/mbgl/programs/line_program.hpp
+++ b/src/mbgl/programs/line_program.hpp
@@ -49,7 +49,7 @@ struct LineAttributes : gl::Attributes<
static_cast<int16_t>((p.y * 2) | t.y)
},
{
- // add 128 to store an byte in an unsigned byte
+ // add 128 to store a byte in an unsigned byte
static_cast<uint8_t>(::round(extrudeScale * e.x) + 128),
static_cast<uint8_t>(::round(extrudeScale * e.y) + 128),