Removed redundent _EXT

This commit is contained in:
Robert Osfield 2016-06-06 12:05:28 +01:00
parent 08a823d857
commit 27caa9c1b1

View File

@ -152,7 +152,7 @@ namespace osg {
this->operator()(*(vptr),*(vptr+1),_treatVertexDataAsTemporary); this->operator()(*(vptr),*(vptr+1),_treatVertexDataAsTemporary);
break; break;
} }
case(GL_LINE_STRIP_ADJACENCY_EXT): { case(GL_LINE_STRIP_ADJACENCY): {
const Vec3* vlast = &_vertexArrayPtr[first+count-2]; const Vec3* vlast = &_vertexArrayPtr[first+count-2];
for(const Vec3* vptr=&_vertexArrayPtr[first+1];vptr<vlast;vptr+=1) for(const Vec3* vptr=&_vertexArrayPtr[first+1];vptr<vlast;vptr+=1)
this->operator()(*(vptr),*(vptr+1),_treatVertexDataAsTemporary); this->operator()(*(vptr),*(vptr+1),_treatVertexDataAsTemporary);
@ -248,7 +248,7 @@ namespace osg {
_treatVertexDataAsTemporary); _treatVertexDataAsTemporary);
break; break;
} }
case(GL_LINE_STRIP_ADJACENCY_EXT): { case(GL_LINE_STRIP_ADJACENCY): {
IndexPointer ilast = &indices[count-2]; IndexPointer ilast = &indices[count-2];
for(IndexPointer iptr=&indices[1];iptr<ilast;iptr+=1) for(IndexPointer iptr=&indices[1];iptr<ilast;iptr+=1)
this->operator()(_vertexArrayPtr[*iptr],_vertexArrayPtr[*(iptr+1)], this->operator()(_vertexArrayPtr[*iptr],_vertexArrayPtr[*(iptr+1)],