diff options
Diffstat (limited to 'src/mbgl/text/placement.cpp')
-rw-r--r-- | src/mbgl/text/placement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/text/placement.cpp b/src/mbgl/text/placement.cpp index ac8c15aae9..b9f270d52e 100644 --- a/src/mbgl/text/placement.cpp +++ b/src/mbgl/text/placement.cpp @@ -62,13 +62,13 @@ void Placement::placeLayer(RenderSymbolLayer& symbolLayer, const mat4& projMatri state.matrixFor(posMatrix, renderTile.id); matrix::multiply(posMatrix, projMatrix, posMatrix); - mat4 textLabelPlaneMatrix = getLabelPlaneMatrix(renderTile.matrix, + mat4 textLabelPlaneMatrix = getLabelPlaneMatrix(posMatrix, layout.get<TextPitchAlignment>() == style::AlignmentType::Map, layout.get<TextRotationAlignment>() == style::AlignmentType::Map, state, pixelsToTileUnits); - mat4 iconLabelPlaneMatrix = getLabelPlaneMatrix(renderTile.matrix, + mat4 iconLabelPlaneMatrix = getLabelPlaneMatrix(posMatrix, layout.get<IconPitchAlignment>() == style::AlignmentType::Map, layout.get<IconRotationAlignment>() == style::AlignmentType::Map, state, |