[core] use unique IDs for DrawScopes

This commit is contained in:
Konstantin Käfer
2019-04-02 14:11:37 +02:00
parent d5e7fabf45
commit da5bd4d6e3
14 changed files with 72 additions and 25 deletions

View File

@@ -117,7 +117,7 @@ void RenderTile::finishRender(PaintParameters& parameters) {
),
allAttributeBindings,
DebugProgram::TextureBindings{},
"__debug/text-outline"
"__debug/" + tile.debugBucket->drawScopeID + "/text-outline"
);
program.draw(
@@ -141,7 +141,7 @@ void RenderTile::finishRender(PaintParameters& parameters) {
),
allAttributeBindings,
DebugProgram::TextureBindings{},
"__debug/text"
"__debug/" + tile.debugBucket->drawScopeID + "/text"
);
}
@@ -172,7 +172,7 @@ void RenderTile::finishRender(PaintParameters& parameters) {
properties
),
DebugProgram::TextureBindings{},
tile.debugBucket->drawScopeID
"__debug/" + tile.debugBucket->drawScopeID
);
}
}