aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Fadel <samuelfadel@gmail.com>2016-01-13 13:51:00 +0100
committerSamuel Fadel <samuelfadel@gmail.com>2016-01-13 13:51:00 +0100
commit29d0c06eb3a69cd838e1224f46942389c501f9b8 (patch)
tree3812eb7c05b61d88d8fa4075cf7c6a04087b760c
parentd9d0beb9069d0e1e40499bcfd12b8204d4356b04 (diff)
Removed some unnecessary comments.
-rw-r--r--voronoisplat.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/voronoisplat.cpp b/voronoisplat.cpp
index b6b480d..6aa7a4a 100644
--- a/voronoisplat.cpp
+++ b/voronoisplat.cpp
@@ -297,7 +297,6 @@ bool VoronoiSplatTexture::updateTexture()
void VoronoiSplatTexture::updateSites()
{
- // Update VBO with the new data
gl.glBindBuffer(GL_ARRAY_BUFFER, m_VBOs[0]);
gl.glBufferData(GL_ARRAY_BUFFER, m_sites.size() * sizeof(float),
m_sites.data(), GL_DYNAMIC_DRAW);
@@ -310,7 +309,6 @@ void VoronoiSplatTexture::updateSites()
void VoronoiSplatTexture::updateValues()
{
- // Update VBO with the new data
gl.glBindBuffer(GL_ARRAY_BUFFER, m_VBOs[1]);
gl.glBufferData(GL_ARRAY_BUFFER, m_values.size() * sizeof(float),
m_values.data(), GL_DYNAMIC_DRAW);