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:
committed by
Alexander Medvednikov
parent
8082a5e7f4
commit
32b0225079
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user