summaryrefslogtreecommitdiff
path: root/src/modules/pixbounce
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-04-14 16:56:07 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-04-14 16:56:07 -0700
commit28a0b44e400e2408b65b2bad9a137ec4fc21516d (patch)
treef9a27335d7cd45dd96f9be673233e6afa27f1d65 /src/modules/pixbounce
parent95ef32f1a667af567b9d3173fe456154e522dfde (diff)
modules/*: remove srand() initializations
Just rely on til_init()'s srand() ensuring things are fresh.
Diffstat (limited to 'src/modules/pixbounce')
-rw-r--r--src/modules/pixbounce/pixbounce.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/pixbounce/pixbounce.c b/src/modules/pixbounce/pixbounce.c
index d016ff7..6585053 100644
--- a/src/modules/pixbounce/pixbounce.c
+++ b/src/modules/pixbounce/pixbounce.c
@@ -117,8 +117,6 @@ static void * pixbounce_create_context(unsigned ticks, unsigned num_cpus, void *
if (!ctxt)
return NULL;
- srand(time(NULL) + getpid());
-
ctxt->n_cpus = num_cpus;
ctxt->x = 0;
ctxt->y = 8;
© All Rights Reserved