diff options
author | Aleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com> | 2019-06-06 10:06:18 +0300 |
---|---|---|
committer | Aleksandar Stojiljkovic <aleksandar.stojiljkovic@mapbox.com> | 2019-06-06 11:21:37 +0300 |
commit | 0bab9127d719c1ba2d6eb85096f93f600f9aa833 (patch) | |
tree | 315efd05c1390a1d05753c331bb9dc252f97ac4c | |
parent | 198ed888e35d97b6fad8f01101282111a0fa650e (diff) | |
download | qtlocation-mapboxgl-0bab9127d719c1ba2d6eb85096f93f600f9aa833.tar.gz |
[core] Use unique ID in hillshade and hillshade_prepare draw.
-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 b3c01941b9..aa34814036 100644 --- a/src/mbgl/renderer/layers/render_hillshade_layer.cpp +++ b/src/mbgl/renderer/layers/render_hillshade_layer.cpp @@ -120,7 +120,7 @@ void RenderHillshadeLayer::render(PaintParameters& parameters) { allUniformValues, allAttributeBindings, textureBindings, - getID() + getID() + "/" + util::toString(id) ); }; @@ -187,7 +187,7 @@ void RenderHillshadeLayer::render(PaintParameters& parameters) { HillshadePrepareProgram::TextureBindings{ textures::image::Value{ bucket.dem->getResource() }, }, - getID() + getID() + "/p/" + util::toString(tile.id) ); bucket.texture = std::move(view->getTexture()); bucket.setPrepared(true); |