Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[core] Use unique ID in hillshade and hillshade_prepare draw.
Browse files Browse the repository at this point in the history
  • Loading branch information
astojilj committed Jun 6, 2019
1 parent 198ed88 commit 0bab912
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mbgl/renderer/layers/render_hillshade_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ void RenderHillshadeLayer::render(PaintParameters& parameters) {
allUniformValues,
allAttributeBindings,
textureBindings,
getID()
getID() + "/" + util::toString(id)
);
};

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 0bab912

Please sign in to comment.