diff --git a/src/osg/VertexProgram.cpp b/src/osg/VertexProgram.cpp index aad1f3fc5..e90676763 100644 --- a/src/osg/VertexProgram.cpp +++ b/src/osg/VertexProgram.cpp @@ -140,7 +140,7 @@ void VertexProgram::apply(State& state) const std::string pointAtproblem(errorposition-(start+1), ' '); notify(osg::FATAL) << " : " << pointAtproblem << '^' << std::endl; } - exit(1); + return; } }