aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2025-09-08 18:25:08 +0100
committerGitHub <noreply@github.com>2025-09-08 18:25:08 +0100
commite2c1f86946481dc7680148643060216781582837 (patch)
tree30cde3e549d13b3dc5bc369cfa4f070dc125f70f /core
parent690291d4cdd1d9e96234b0d9def0d50b44f80d3b (diff)
parent2bbd0a45c0828db0cbc1f089198170813b1c3c74 (diff)
Merge pull request #5663 from greenya/master
[core:time] time_js: tick_now(): Use f64 (was f32) as a return type of odin_env.tick_now()
Diffstat (limited to 'core')
-rw-r--r--core/time/time_js.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/time/time_js.odin b/core/time/time_js.odin
index 9175fbfe9..0e021dc88 100644
--- a/core/time/time_js.odin
+++ b/core/time/time_js.odin
@@ -24,7 +24,7 @@ _sleep :: proc "contextless" (d: Duration) {
_tick_now :: proc "contextless" () -> Tick {
foreign odin_env {
- tick_now :: proc "contextless" () -> f32 ---
+ tick_now :: proc "contextless" () -> f64 ---
}
return Tick{i64(tick_now()*1e6)}
}