aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);