mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 21:43:13 +02:00
removed dead code
This commit is contained in:
parent
56aafabacd
commit
13b558c033
1 changed files with 0 additions and 1 deletions
|
@ -1276,7 +1276,6 @@ void VoxelSystem::render(bool texture) {
|
||||||
Application::getInstance()->getPointShader().setUniformValue(uniformLocation, viewportHeight);
|
Application::getInstance()->getPointShader().setUniformValue(uniformLocation, viewportHeight);
|
||||||
|
|
||||||
attributeLocation = Application::getInstance()->getVoxelShader().attributeLocation("voxelSizeIn");
|
attributeLocation = Application::getInstance()->getVoxelShader().attributeLocation("voxelSizeIn");
|
||||||
//printf("attributeLocation=%d\n", attributeLocation);
|
|
||||||
glEnableVertexAttribArray(attributeLocation);
|
glEnableVertexAttribArray(attributeLocation);
|
||||||
glVertexAttribPointer(attributeLocation, 1, GL_FLOAT, false, sizeof(VoxelShaderVBOData), BUFFER_OFFSET(3*sizeof(float)));
|
glVertexAttribPointer(attributeLocation, 1, GL_FLOAT, false, sizeof(VoxelShaderVBOData), BUFFER_OFFSET(3*sizeof(float)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue