Removed while loops from path_vs that caused driver issues with big w values

Removed error that caused the postDraw method not to be called on slave nodes
This commit is contained in:
Alexander Bock
2015-07-04 15:41:43 +02:00
parent a9824dabc1
commit 003a438602
4 changed files with 88 additions and 72 deletions
+2 -1
View File
@@ -186,6 +186,8 @@ void RenderablePath::render(const RenderData& data) {
glDrawArrays(GL_POINTS, 0, static_cast<GLsizei>(_vertexArray.size()));
glBindVertexArray(0);
glDisable(GL_PROGRAM_POINT_SIZE);
_programObject->deactivate();
}
@@ -197,7 +199,6 @@ void RenderablePath::update(const UpdateData& data) {
calculatePath(_observer);
sendToGPU();
_needsSweep = false;
return;
}
if (_programObject->isDirty())