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

@@ -40,7 +40,11 @@ public:
/** return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.*/
virtual int compare(const StateAttribute& sa) const;
virtual void getAssociatedModes(std::vector<GLMode>& modes) const;
virtual bool getModeUsage(ModeUsage& usage) const
{
usage.usesMode(GL_POINT_SPRITE_ARB);
return true;
}
virtual bool isTextureAttribute() const { return true; }