Make love.event.clear thread-safe, though it's only callable from the main thread (with SDL backend, anyway)

This commit is contained in:
Bart van Strien
2011-12-23 12:16:36 +01:00
parent bc278cf2b8
commit e0dcf55703
3 changed files with 12 additions and 5 deletions
+1
View File
@@ -58,6 +58,7 @@ namespace event
void push(Message *msg);
bool poll(Message *&msg);
virtual void clear();
virtual void pump() = 0;