History

removed dead code

ZappoMan committed 13 years ago

Commit 13b558c1 parent 56aafab1 file · +0 −1Browse files

Showing the changes to interface/src/VoxelSystem.cpp (1 of 1 file). Show all

Unified · Split

interface/src/VoxelSystem.cpp+0−1
@@ -1276,7 +1276,6 @@ void VoxelSystem::render(bool texture) { · 1275 unmodified lines
1276 Application::getInstance()->getPointShader().setUniformValue(uniformLocation, viewportHeight);1276 Application::getInstance()->getPointShader().setUniformValue(uniformLocation, viewportHeight);
1277 1277
1278 attributeLocation = Application::getInstance()->getVoxelShader().attributeLocation("voxelSizeIn");1278 attributeLocation = Application::getInstance()->getVoxelShader().attributeLocation("voxelSizeIn");
1279 //printf("attributeLocation=%d\n", attributeLocation);
1280 glEnableVertexAttribArray(attributeLocation);1279 glEnableVertexAttribArray(attributeLocation);
1281 glVertexAttribPointer(attributeLocation, 1, GL_FLOAT, false, sizeof(VoxelShaderVBOData), BUFFER_OFFSET(3*sizeof(float)));1280 glVertexAttribPointer(attributeLocation, 1, GL_FLOAT, false, sizeof(VoxelShaderVBOData), BUFFER_OFFSET(3*sizeof(float)));
1282 }1281 }