[core] fix rendering 180° line joins

This commit is contained in:
Konstantin Käfer
2017-01-19 16:36:19 +01:00
parent f1c3cfb7e2
commit a37ae27aed
3 changed files with 14 additions and 6 deletions

View File

@@ -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),