aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-10-19 22:13:51 +0200
committerdec05eba <dec05eba@protonmail.com>2021-10-19 22:13:51 +0200
commit2d4457a5ee926eca221102ee70f118b305ea2670 (patch)
treee186cf369f30c18c7fb60660f79bc51bc37f4f8f /tests
parent9da3c2188060dc982412d7a6e1cd2051b9ddb6a6 (diff)
poll event change name
Diffstat (limited to 'tests')
-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)) {
}