Added missing osg:: to StateAttribute.

This commit is contained in:
Robert Osfield 2003-03-11 21:42:55 +00:00
parent e51c7f1587
commit 5ae998dbc2
2 changed files with 2 additions and 2 deletions

View File

@ -174,7 +174,7 @@ public:
GlyphTexture();
/** return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.*/
virtual int compare(const StateAttribute& rhs) const;
virtual int compare(const osg::StateAttribute& rhs) const;
void setStateSet(osg::StateSet* stateset) { _stateset = stateset; }
osg::StateSet* getStateSet() { return _stateset; }

View File

@ -287,7 +287,7 @@ Font::GlyphTexture::~GlyphTexture()
}
// return -1 if *this < *rhs, 0 if *this==*rhs, 1 if *this>*rhs.
int Font::GlyphTexture::compare(const StateAttribute& rhs) const
int Font::GlyphTexture::compare(const osg::StateAttribute& rhs) const
{
if (this<&rhs) return -1;
else if (this>&rhs) return 1;