summaryrefslogtreecommitdiff
path: root/luma/src/luma_checkEvts.c
diff options
context:
space:
mode:
Diffstat (limited to 'luma/src/luma_checkEvts.c')
-rw-r--r--luma/src/luma_checkEvts.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/luma/src/luma_checkEvts.c b/luma/src/luma_checkEvts.c
deleted file mode 100644
index c1d3231..0000000
--- a/luma/src/luma_checkEvts.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- Copyright 2021, 2022 Gabriel Jensen
-
- This file is part of luma.
-
- luma is free software: you can redistribute it and/or modify it under the
- terms of the GNU Affero General Public License as published by the Free
- Software Foundation, either version 3 of the License, or (at your
- option) any later version.
-
- luma is distributed in the hope that it will be useful, but WITHOUT ANY
- WARRANTY; without even the implied warranty of MERCHANTABILITY or
- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
- License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with luma. If not, see <https://www.gnu.org/licenses/>.
-*/
-
-#include "luma.h"
-
-#include <SDL2/SDL.h>
-#include <stdbool.h>
-
-bool luma_checkEvts(void) {
- SDL_Event evt;
- while (SDL_PollEvent(&evt)) {
- switch (evt.type) {
- default:
- break;
- case SDL_QUIT:
- return true;
- }
- }
- return false;
-}