Commit 14f6e020 by Kai Westerkamp

patches fix

parent d24f3690
......@@ -465,7 +465,7 @@ void Mesh::renderMesh(QOpenGLShaderProgram *shader, int index, int subdivision,
std::shared_ptr<SubdivEntry> depthEntryMinusOne = entries[index].buffers[depth];
if(depth > 0){
depthEntryMinusOne = entries[index].buffers[depth-1];
// depthEntryMinusOne = entries[index].buffers[depth-1];
}
shader->setUniformValue("depth",depth);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment