mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Added love.event.clear, because why not. (Issue #202).
This commit is contained in:
@@ -74,6 +74,11 @@ namespace sdl
|
||||
**/
|
||||
bool push(Message & message);
|
||||
|
||||
/**
|
||||
* Clears the event queue.
|
||||
*/
|
||||
void clear();
|
||||
|
||||
private:
|
||||
|
||||
bool convert(SDL_Event & e, Message & m);
|
||||
|
||||
Reference in New Issue
Block a user