From 2e14bd52bfa2b7ca2e8e54210aa2896aedee26ae Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 11 Sep 2018 11:23:34 +0100 Subject: [PATCH] Fixed hang using a ReentrantMutex --- include/osgText/Glyph | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/osgText/Glyph b/include/osgText/Glyph index c2fe58299..15d6b45f2 100644 --- a/include/osgText/Glyph +++ b/include/osgText/Glyph @@ -28,7 +28,7 @@ #include #include -#include +#include namespace osgText { @@ -127,7 +127,7 @@ protected: typedef std::vector< osg::ref_ptr > TextureInfoList; TextureInfoList _textureInfoList; - mutable OpenThreads::Mutex _textureInfoListMutex; + mutable OpenThreads::ReentrantMutex _textureInfoListMutex; }; class OSGTEXT_EXPORT GlyphGeometry : public osg::Referenced