aboutsummaryrefslogtreecommitdiff
path: root/core/math
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2025-02-24 13:48:07 +0000
committergingerBill <bill@gingerbill.org>2025-02-24 13:48:07 +0000
commitef016d957ba5fdaab55ee1f52a3a1160c6024652 (patch)
tree9c2c27ce4e443ea431da72720dbecdf0707080dc /core/math
parentc45f39702ada5da0ea79c9ad2c12f7d73691a987 (diff)
Add `@(require_results)` to random generator
Diffstat (limited to 'core/math')
-rw-r--r--core/math/rand/rand.odin1
1 files changed, 0 insertions, 1 deletions
diff --git a/core/math/rand/rand.odin b/core/math/rand/rand.odin
index 3082a0afc..537256d32 100644
--- a/core/math/rand/rand.odin
+++ b/core/math/rand/rand.odin
@@ -19,7 +19,6 @@ default_random_generator :: runtime.default_random_generator
@(require_results)
create :: proc(seed: u64) -> (state: Default_Random_State) {
seed := seed
- runtime.default_random_generator(&state)
runtime.default_random_generator_proc(&state, .Reset, ([^]byte)(&seed)[:size_of(seed)])
return
}