Removed redundent _EXT
This commit is contained in:
parent
08a823d857
commit
27caa9c1b1
@ -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)],
|
||||||
|
Loading…
Reference in New Issue
Block a user