summaryrefslogtreecommitdiff
path: root/src/systems/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/systems/input.c')
-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"