summaryrefslogtreecommitdiff
path: root/src/systems
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-11 17:30:58 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-11 17:30:58 +1000
commit08d7e23fd5ed95953822a72ba11d4b6cd96b2846 (patch)
tree6d251658bacb6a892a01e88ba3b98da338b9206e /src/systems
parentfa6b939d49398a11d76080029204e7462b22914e (diff)
prototyping shader data
Diffstat (limited to 'src/systems')
-rw-r--r--src/systems/input.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systems/input.c b/src/systems/input.c
index 5df1159..0c8f768 100644
--- a/src/systems/input.c
+++ b/src/systems/input.c
@@ -32,6 +32,7 @@ bool input_system_init(input_state *input, GLFWwindow *window) {
void input_system_shutdown(input_state *input) {}
void input_update(input_state *input) {
+ glfwPollEvents();
// --- update keyboard input
// if we go from un-pressed -> pressed, set as "just pressed"