summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleix Pol <aleixpol@kde.org>2016-10-25 01:44:31 (GMT)
committerAleix Pol <aleixpol@kde.org>2016-10-25 01:44:31 (GMT)
commit7593261f03b9151d1ee4d34c176a391dae78f293 (patch)
tree3d3a6120e272e34a44dc1edb7afd052964fb9827
parenta872aa34d73e93191bb24ecf3a007ad3958f1020 (diff)
Remove pointless comments
-rw-r--r--analitzaplot/plotter3d.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/analitzaplot/plotter3d.cpp b/analitzaplot/plotter3d.cpp
index b737ae5..db74247 100644
--- a/analitzaplot/plotter3d.cpp
+++ b/analitzaplot/plotter3d.cpp
@@ -592,16 +592,11 @@ void Plotter3D::addPlots(PlotItem* item)
glBufferData(GL_ARRAY_BUFFER, 3*sizeof(float)*surf->vertices().size() + 3*sizeof(float)*surf->normals().size(), 0, GL_STREAM_DRAW);
glBufferSubData(GL_ARRAY_BUFFER, 0, 3*sizeof(float)*surf->vertices().size(), surf->vertices().constData());
glBufferSubData(GL_ARRAY_BUFFER, 3*sizeof(float)*surf->vertices().size(), 3*sizeof(float)*surf->normals().size(), surf->normals().constData());
- //TODO ifdef debug_Graph
- //glGetBufferParameteriv(GL_ARRAY_BUFFER, GL_BUFFER_SIZE, &bufferSize);
- //qDebug() << "Vertex Array in VBO: " << bufferSize << " bytes";
//indices
glGenBuffers(1, &m_itemGeometries[item].first);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, m_itemGeometries[item].first);
glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(unsigned int)*surf->indexes().size(), surf->indexes().constData(), GL_STATIC_DRAW);
- //glGetBufferParameteriv(GL_ELEMENT_ARRAY_BUFFER, GL_BUFFER_SIZE, &bufferSize);
- //qDebug() << "Index Array in VBO: " << bufferSize << " bytes";
}
}