mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-26 06:49:09 -06:00
Let's stop copying objs.
This commit is contained in:
@@ -1316,7 +1316,7 @@ void RenderablePlanesCloud::createPlanes() {
|
||||
}
|
||||
|
||||
// Send data to GPU
|
||||
for (const std::pair<int, PlaneAggregate> pAMapItem : _planesMap) {
|
||||
for (const std::pair<const int, PlaneAggregate>& pAMapItem : _planesMap) {
|
||||
glBindVertexArray(pAMapItem.second.vao);
|
||||
glBindBuffer(GL_ARRAY_BUFFER, pAMapItem.second.vbo);
|
||||
glBufferData(
|
||||
|
||||
Reference in New Issue
Block a user