mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-21 18:38:20 -05:00
Using a fixed number of chunktiles in the chunktilepile as they number has to be 1 or 3
This commit is contained in:
@@ -1283,11 +1283,10 @@ void RenderableGlobe::renderChunkGlobally(const Chunk& chunk, const RenderData&
|
||||
ZoneScoped
|
||||
TracyGpuZone("renderChunkGlobally")
|
||||
|
||||
//PerfMeasure("globally");
|
||||
const TileIndex& tileIndex = chunk.tileIndex;
|
||||
ghoul::opengl::ProgramObject& program = *_globalRenderer.program;
|
||||
|
||||
const std::array<LayerGroup*, LayerManager::NumLayerGroups>& layerGroups =
|
||||
std::array<LayerGroup*, LayerManager::NumLayerGroups> layerGroups =
|
||||
_layerManager.layerGroups();
|
||||
for (size_t i = 0; i < layerGroups.size(); ++i) {
|
||||
_globalRenderer.gpuLayerGroups[i].setValue(program, *layerGroups[i], tileIndex);
|
||||
|
||||
Reference in New Issue
Block a user