[core] rename getStencils() to getClipIDs() to better reflect what it actually does

This commit is contained in:
Konstantin Käfer
2017-07-04 18:31:37 +02:00
parent 107622a72b
commit 64a827c325
4 changed files with 39 additions and 39 deletions

View File

@@ -198,9 +198,9 @@ void Painter::render(RenderStyle& style, const FrameData& frame_, View& view) {
MBGL_DEBUG_GROUP(context, "clipping masks");
for (const auto& stencil : clipIDGenerator.getStencils()) {
MBGL_DEBUG_GROUP(context, std::string{ "mask: " } + util::toString(stencil.first));
renderClippingMask(stencil.first, stencil.second);
for (const auto& clipID : clipIDGenerator.getClipIDs()) {
MBGL_DEBUG_GROUP(context, std::string{ "mask: " } + util::toString(clipID.first));
renderClippingMask(clipID.first, clipID.second);
}
}