diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2017-01-19 16:36:19 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2017-01-23 17:02:40 +0100 |
commit | a37ae27aed97af00a12cb5123264f47bd1fe3427 (patch) | |
tree | 78fefe5b4d14dd74efcc23ff2a1a34199cf34131 /src/mbgl/programs/line_program.hpp | |
parent | f1c3cfb7e2d46a4563d680bcab888fa01b2ca160 (diff) | |
download | qtlocation-mapboxgl-a37ae27aed97af00a12cb5123264f47bd1fe3427.tar.gz |
[core] fix rendering 180° line joins
Diffstat (limited to 'src/mbgl/programs/line_program.hpp')
-rw-r--r-- | src/mbgl/programs/line_program.hpp | 2 |
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), |