aboutsummaryrefslogtreecommitdiff
path: root/tests/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/main.c')
-rw-r--r--tests/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.c b/tests/main.c
index e7dc656..1675439 100644
--- a/tests/main.c
+++ b/tests/main.c
@@ -58,7 +58,7 @@ int main(int argc, char **argv) {
mgl_event event;
for(;;) {
- while(mgl_window_events_poll(&window, &event)) {
+ while(mgl_window_poll_event(&window, &event)) {
}