aboutsummaryrefslogtreecommitdiff
path: root/code/game.odin
diff options
context:
space:
mode:
authorGinger Bill <bill@gingerbill.org>2016-09-21 23:26:31 +0100
committerGinger Bill <bill@gingerbill.org>2016-09-21 23:26:31 +0100
commit664c2cd7a587feb18f02378506bdade2503343d3 (patch)
tree2c0b5e972eaa2cc74ec67c377a9bd8f6e284b24e /code/game.odin
parent33bd3f635f9d98636ab4631fac9cff4e9d7fdb4d (diff)
Fix enum type comparison; Start demo 003 code
Diffstat (limited to 'code/game.odin')
-rw-r--r--code/game.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/code/game.odin b/code/game.odin
index fd1bcfa70..123f89982 100644
--- a/code/game.odin
+++ b/code/game.odin
@@ -206,7 +206,7 @@ run :: proc() {
display_window(^window)
ms_to_sleep := (16 - 1000*dt) as i32
if ms_to_sleep > 0 {
- sleep_ms(ms_to_sleep)
+ win32.Sleep(ms_to_sleep)
}
}
}