summaryrefslogtreecommitdiff
path: root/src/modules/plato
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-05-01 11:43:42 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-05-01 13:50:26 -0700
commita81425632db81527bcecd2d0fbdb5b09c25141ba (patch)
treebdc6ba54c39e9a859d2c87e9a0a87d70b85e00a8 /src/modules/plato
parent45d1f956b35fa9003106716e42425cc86cadc7a1 (diff)
modules/*: make use of generic fragmenters
Just one case, modules/submit, was using 32x32 tiles and is now using 64x64. I don't expect it to make any difference. While here I fixed up the num_cpus/n_cpus naming inconsistencies, normalizing on n_cpus.
Diffstat (limited to 'src/modules/plato')
-rw-r--r--src/modules/plato/plato.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/modules/plato/plato.c b/src/modules/plato/plato.c
index ec53dd1..163a785 100644
--- a/src/modules/plato/plato.c
+++ b/src/modules/plato/plato.c
@@ -49,7 +49,6 @@
typedef struct plato_context_t {
- unsigned n_cpus;
float r;
} plato_context_t;
@@ -609,7 +608,7 @@ static void draw_polyhedron(const polyhedron_t *polyhedron, m4f_t *transform, ti
}
-static void * plato_create_context(unsigned ticks, unsigned num_cpus, til_setup_t *setup)
+static void * plato_create_context(unsigned ticks, unsigned n_cpus, til_setup_t *setup)
{
plato_context_t *ctxt;
@@ -617,8 +616,6 @@ static void * plato_create_context(unsigned ticks, unsigned num_cpus, til_setup_
if (!ctxt)
return NULL;
- ctxt->n_cpus = num_cpus;
-
return ctxt;
}
© All Rights Reserved