Changed Font's mutex to become a static mutex shared between all instances of Font.
This ensures single threaded access of the freetype plugin.
This commit is contained in:
@@ -164,7 +164,7 @@ public:
|
||||
typedef OpenThreads::Mutex FontMutex;
|
||||
|
||||
/** Get the mutex that enables the serialization of calls to this font.*/
|
||||
FontMutex* getSerializeFontCallsMutex() const { return &_serializeFontCallsMutex; }
|
||||
static FontMutex* getSerializeFontCallsMutex();
|
||||
|
||||
protected:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user