osgText: fixed thread-safety issues in Glyph and Font

This commit is contained in:
gwaldron
2018-09-10 08:00:41 -04:00
committed by Robert Osfield
parent 385cfa0cbf
commit 22e6f6038f
3 changed files with 23 additions and 15 deletions

View File

@@ -126,6 +126,8 @@ protected:
typedef std::vector< osg::ref_ptr<TextureInfo> > TextureInfoList;
TextureInfoList _textureInfoList;
mutable OpenThreads::Mutex _textureInfoListMutex;
};
class OSGTEXT_EXPORT GlyphGeometry : public osg::Referenced