Added missing osg:: to StateAttribute.
This commit is contained in:
parent
e51c7f1587
commit
5ae998dbc2
@ -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; }
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user