diff --git a/include/osg/TemplatePrimitiveFunctor b/include/osg/TemplatePrimitiveFunctor index 25d98ce19..cbf4ddfad 100644 --- a/include/osg/TemplatePrimitiveFunctor +++ b/include/osg/TemplatePrimitiveFunctor @@ -152,7 +152,7 @@ namespace osg { this->operator()(*(vptr),*(vptr+1),_treatVertexDataAsTemporary); break; } - case(GL_LINE_STRIP_ADJACENCY_EXT): { + case(GL_LINE_STRIP_ADJACENCY): { const Vec3* vlast = &_vertexArrayPtr[first+count-2]; for(const Vec3* vptr=&_vertexArrayPtr[first+1];vptroperator()(*(vptr),*(vptr+1),_treatVertexDataAsTemporary); @@ -248,7 +248,7 @@ namespace osg { _treatVertexDataAsTemporary); break; } - case(GL_LINE_STRIP_ADJACENCY_EXT): { + case(GL_LINE_STRIP_ADJACENCY): { IndexPointer ilast = &indices[count-2]; for(IndexPointer iptr=&indices[1];iptroperator()(_vertexArrayPtr[*iptr],_vertexArrayPtr[*(iptr+1)],