aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/main.cpp b/tests/main.cpp
index eb134ac..72737b5 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -106,7 +106,7 @@ int main(int argc, char **argv) {
mgl::Event event;
while(window.is_open()) {
- if(window.poll_event(event)) {
+ while(window.poll_event(event)) {
}