Changed StateAttribute::getAssociatedModes(std::vector<GLMode>&) across

to StateAttribute::getModeUsage(StateAttribute::ModeUsage&).
This commit is contained in:
Robert Osfield
2004-03-03 15:38:22 +00:00
parent 4aa7afedf3
commit c8b8a81052
30 changed files with 126 additions and 92 deletions

View File

@@ -25,11 +25,6 @@ int PointSprite::compare(const StateAttribute& sa) const
return 0; // passed all the above comparison macro's, must be equal.
}
void PointSprite::getAssociatedModes(std::vector<GLMode>& modes) const
{
modes.push_back(GL_POINT_SPRITE_ARB);
}
void PointSprite::apply(osg::State&) const
{
glTexEnvi(GL_POINT_SPRITE_ARB, GL_COORD_REPLACE_ARB, 1);