summaryrefslogtreecommitdiff
path: root/src/rototiller.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-01-25 21:20:45 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-01-25 21:20:45 -0800
commitea778644eb3e2df22122c79c5e8a8a9e99490beb (patch)
tree81a61cf4bc773916a945e5b0bfe3051007cdd64a /src/rototiller.c
parent87cc5fe2348d9b0d9102273fa0253cd474672e9c (diff)
rototiller: initialize start_tv
Missed this!
Diffstat (limited to 'src/rototiller.c')
-rw-r--r--src/rototiller.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rototiller.c b/src/rototiller.c
index 0473ee3..579d02a 100644
--- a/src/rototiller.c
+++ b/src/rototiller.c
@@ -443,6 +443,7 @@ int main(int argc, const char *argv[])
pexit_if(!(rototiller.threads = threads_create()),
"unable to create rendering threads");
+ gettimeofday(&rototiller.start_tv, NULL);
exit_if(rototiller.module->create_context &&
!(rototiller.module_context = rototiller.module->create_context(
get_ticks(&rototiller.start_tv,
© All Rights Reserved