summaryrefslogtreecommitdiff
path: root/bench/main.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2023-06-07 01:15:41 -0400
committerBenji Dial <benji@benjidial.net>2023-06-07 01:15:41 -0400
commita9afa12358ddcf413b9b0ca68b7e12f6db49a36e (patch)
treef5e49fa258dc68c814d4868da773c2e1ece7473b /bench/main.cpp
parentc33cd477060bcf5400aaa4ae2283098a4103f2e6 (diff)
downloadlib94-a9afa12358ddcf413b9b0ca68b7e12f6db49a36e.tar.gz
actually seed prng
Diffstat (limited to 'bench/main.cpp')
-rw-r--r--bench/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bench/main.cpp b/bench/main.cpp
index 70d3cfa..f28545f 100644
--- a/bench/main.cpp
+++ b/bench/main.cpp
@@ -6,6 +6,7 @@ std::chrono::nanoseconds time_between_steps;
std::mutex core_mutex;
int main(int argc, char **argv) {
+ lib94::seed_prng(time(0));
auto app = Gtk::Application::create("net.benjidial.lib94.bench");
return app->make_window_and_run<bench_window>(argc, argv);
}