mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Make love.event.clear thread-safe, though it's only callable from the main thread (with SDL backend, anyway)
This commit is contained in:
@@ -77,11 +77,7 @@ namespace sdl
|
||||
// Do nothing with 'e' ...
|
||||
}
|
||||
|
||||
while (!queue.empty())
|
||||
{
|
||||
queue.back()->release();
|
||||
queue.pop();
|
||||
}
|
||||
love::event::Event::clear();
|
||||
}
|
||||
|
||||
Message *Event::convert(SDL_Event & e)
|
||||
|
||||
Reference in New Issue
Block a user