From 158ec1c10c7b39014c30164c85a228746fc91795 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 25 Mar 2012 21:31:22 +0200 Subject: 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 --- src/menu/text.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/menu/text.hpp') 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); -- cgit v1.2.3