diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-19 10:10:48 -0700 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2016-04-21 11:01:56 -0700 |
commit | a14f0d2eddd4d9eb1bbf33fed3bfffe2329acf5e (patch) | |
tree | c731d8b96616fc333d550bf5ac78ab9db564ccbf /src/mbgl/renderer/painter_line.cpp | |
parent | 4e04a107e85a2118df12415cc661b8edb1fa36f4 (diff) | |
download | qtlocation-mapboxgl-a14f0d2eddd4d9eb1bbf33fed3bfffe2329acf5e.tar.gz |
[core] CapType ⇢ LineCapType
Diffstat (limited to 'src/mbgl/renderer/painter_line.cpp')
-rw-r--r-- | src/mbgl/renderer/painter_line.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/renderer/painter_line.cpp b/src/mbgl/renderer/painter_line.cpp index 13515c5ced..1ea5e932e0 100644 --- a/src/mbgl/renderer/painter_line.cpp +++ b/src/mbgl/renderer/painter_line.cpp @@ -78,8 +78,8 @@ void Painter::renderLine(LineBucket& bucket, const LineLayer& layer, const TileI linesdfShader->u_blur = blur; linesdfShader->u_color = color; - LinePatternPos posA = lineAtlas->getDashPosition(properties.dasharray.value.from, layout.cap == CapType::Round, glObjectStore); - LinePatternPos posB = lineAtlas->getDashPosition(properties.dasharray.value.to, layout.cap == CapType::Round, glObjectStore); + LinePatternPos posA = lineAtlas->getDashPosition(properties.dasharray.value.from, layout.cap == LineCapType::Round, glObjectStore); + LinePatternPos posB = lineAtlas->getDashPosition(properties.dasharray.value.to, layout.cap == LineCapType::Round, glObjectStore); const float widthA = posA.width * properties.dasharray.value.fromScale * properties.dashLineWidth; const float widthB = posB.width * properties.dasharray.value.toScale * properties.dashLineWidth; |