This commit is contained in:
Kae 2023-06-30 06:39:30 +10:00
parent 94cf66a122
commit 2cd0c3a0aa

View File

@ -232,7 +232,7 @@ shared_ptr<TilePainter::TerrainChunk const> TilePainter::getTerrainChunk(WorldRe
for (auto& layerPair : terrainPrimitives) {
for (auto& zLevelPair : layerPair.second) {
auto rb = m_renderer->createRenderBuffer();
rb->set(LevelPair.second);
rb->set(zLevelPair.second);
(*chunk)[layerPair.first][zLevelPair.first] = move(rb);
}
}