Added thread safe ref/unref by default.
This commit is contained in:
parent
e043b0339b
commit
4f97cdca96
@ -199,6 +199,9 @@ public:
|
||||
{
|
||||
public:
|
||||
|
||||
FontImplementation():
|
||||
osg::Referenced(true) {}
|
||||
|
||||
virtual std::string getFileName() const = 0;
|
||||
|
||||
/** Set the pixel width and height hint.*/
|
||||
|
@ -139,6 +139,7 @@ osgText::Font* osgText::readFontStream(std::istream& stream, const osgDB::Reader
|
||||
|
||||
|
||||
Font::Font(FontImplementation* implementation):
|
||||
osg::Object(true),
|
||||
_width(16),
|
||||
_height(16),
|
||||
_margin(1),
|
||||
|
Loading…
Reference in New Issue
Block a user