1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

remove os/time references from live programs, fix warnings

This commit is contained in:
Delyan Angelov
2019-12-09 17:53:17 +02:00
committed by Alexander Medvednikov
parent 8082a5e7f4
commit 32b0225079
6 changed files with 52 additions and 34 deletions

View File

@@ -1,6 +1,5 @@
module main
import time
import gg
import glfw
import gx
@@ -50,9 +49,7 @@ fn main() {
gg.post_empty_event() // needed so the animation does not stop
///////////////////////////////////////////////
a.update()
print_automaton(a)
print_automaton(a)
graphics.render()
time.sleep_ms(1) // TODO: remove this when live reload depence on the time module is fixed
}
}