aboutsummaryrefslogtreecommitdiffstats
path: root/src/menu/text.hpp
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-03-25 21:31:22 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2013-01-13 22:40:51 +0100
commit158ec1c10c7b39014c30164c85a228746fc91795 (patch)
tree3736d70411a1a68552102f0f8a9b63a1c1c3045f /src/menu/text.hpp
parent26a298e59af130dbee55cb87b181128bfdaebd00 (diff)
downloadusdx-158ec1c10c7b39014c30164c85a228746fc91795.tar.gz
usdx-158ec1c10c7b39014c30164c85a228746fc91795.tar.xz
usdx-158ec1c10c7b39014c30164c85a228746fc91795.zip
menu/text: renamed text_mutex to font_mutex
no the font_mutex should not only serialize all accesses to the text, that should be drawn, also all accesses to the under laying font object should not be at the same time
Diffstat (limited to '')
-rw-r--r--src/menu/text.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/menu/text.hpp b/src/menu/text.hpp
index 9c910b98..ad5fcb9a 100644
--- a/src/menu/text.hpp
+++ b/src/menu/text.hpp
@@ -63,8 +63,8 @@ namespace usdx
bool stretch;
FTFont *font;
+ boost::mutex font_mutex;
- boost::mutex text_mutex;
protected:
virtual void draw(void);