Changed mutex reference to a mutex pointer to avoid problems with wrappers

This commit is contained in:
Robert Osfield
2007-08-31 20:30:45 +00:00
parent 76063a94bd
commit 13faad13e8
3 changed files with 6 additions and 6 deletions

View File

@@ -464,7 +464,7 @@ void Text::computeGlyphRepresentation()
return;
}
OpenThreads::ScopedLock<Font::FontMutex> lock(activefont->getSerializeFontCallsMutex());
OpenThreads::ScopedLock<Font::FontMutex> lock(*(activefont->getSerializeFontCallsMutex()));
// initialize bounding box, it will be expanded during glyph position calculation
_textBB.init();