diff options
author | Molly Lloyd <mollymerp@users.noreply.github.com> | 2018-02-06 10:56:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-06 10:56:42 -0800 |
commit | e03f7a4d1f067cd01eb3022811eddb0b1892801b (patch) | |
tree | d0e589b216255837a6e0a312f894e882f16691a5 /src | |
parent | 26a00f6a3139a95ec098269a219d0765447b5853 (diff) | |
download | qtlocation-mapboxgl-e03f7a4d1f067cd01eb3022811eddb0b1892801b.tar.gz |
[core] align raster-dem tiles to pixel grid (#11119)
* align raster-dem tiles to pixel grid
* revert ignored hillshade tests
Diffstat (limited to 'src')
-rw-r--r-- | src/mbgl/renderer/layers/render_hillshade_layer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mbgl/renderer/layers/render_hillshade_layer.cpp b/src/mbgl/renderer/layers/render_hillshade_layer.cpp index 7a767522c0..55702849df 100644 --- a/src/mbgl/renderer/layers/render_hillshade_layer.cpp +++ b/src/mbgl/renderer/layers/render_hillshade_layer.cpp @@ -136,14 +136,14 @@ void RenderHillshadeLayer::render(PaintParameters& parameters, RenderSource*) { if (bucket.vertexBuffer && bucket.indexBuffer && !bucket.segments.empty()) { // Draw only the parts of the tile that aren't drawn by another tile in the layer. - draw(tile.matrix, + draw(parameters.matrixForTile(tile.id, true), *bucket.vertexBuffer, *bucket.indexBuffer, bucket.segments, tile.id); } else { // Draw the full tile. - draw(tile.matrix, + draw(parameters.matrixForTile(tile.id, true), parameters.staticData.rasterVertexBuffer, parameters.staticData.quadTriangleIndexBuffer, parameters.staticData.rasterSegments, |