mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-28 06:49:32 -05:00
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:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user