From Mathias Froehlich, "Attached one namespace/scope lookup problem which shows up on irix."

This commit is contained in:
Robert Osfield 2008-09-18 15:16:57 +00:00
parent 1d328ba0d4
commit 8bdb22c22e

View File

@ -341,7 +341,7 @@ Font::Glyph* Font::getGlyph(const FontResolution& fontRes, unsigned int charcode
void Font::setThreadSafeRefUnref(bool threadSafe) void Font::setThreadSafeRefUnref(bool threadSafe)
{ {
Object::setThreadSafeRefUnref(threadSafe); osg::Object::setThreadSafeRefUnref(threadSafe);
if (_texenv.valid()) _texenv->setThreadSafeRefUnref(threadSafe); if (_texenv.valid()) _texenv->setThreadSafeRefUnref(threadSafe);
if (_stateset.valid()) _stateset->setThreadSafeRefUnref(threadSafe); if (_stateset.valid()) _stateset->setThreadSafeRefUnref(threadSafe);