aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index d733fb3..3f4dd4a 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -43,7 +43,7 @@ fn main() {
let mut time = 0.0;
- while true {
+ loop {
clear();
flushinp();
@@ -124,6 +124,4 @@ fn main() {
renderer.camera.direction = -renderer.camera.direction;
}
}
-
- endwin();
}