Upgrade SDL2 and SDL2 Image.

This commit is contained in:
2016-05-17 20:37:57 +02:00
parent 6034e21e25
commit 2c7d5cc1d6
8 changed files with 220 additions and 198 deletions

5
src/timer.rs Normal file
View File

@@ -0,0 +1,5 @@
extern crate time;
pub fn current_time() -> f64 {
(time::precise_time_ns() / 1_000_000) as f64
}