Updates to the new osgtext example and fix to the friend usage.
This commit is contained in:
@@ -69,7 +69,7 @@ public:
|
||||
virtual bool hasVertical() const = 0;
|
||||
|
||||
// make Text a friend to allow it add and remove its entry in the Font's _textList.
|
||||
friend Text;
|
||||
friend class Text;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ public:
|
||||
|
||||
// make Font a friend to allow it set the _font to 0 if the font is
|
||||
// forcefully unloaded.
|
||||
friend Font;
|
||||
friend class Font;
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user