summaryrefslogtreecommitdiff
path: root/src/modules/swarm/swarm.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2022-04-25 11:57:21 -0700
committerVito Caputo <vcaputo@pengaru.com>2022-04-25 11:57:21 -0700
commit76cfdb956d80aa5a4ffb909486509abc5f7bc829 (patch)
treee44a21979f26073bf88bd65da70a51d0209283c0 /src/modules/swarm/swarm.c
parentcee91274e489a90691a3c475b82a9f7fad1ea996 (diff)
modules/*: set TIL_MODULE_OVERLAYABLE where appropriate
In the interests of facilitating randomized automagic layered compositing, tell the world when you're overlay-appropriate.
Diffstat (limited to 'src/modules/swarm/swarm.c')
-rw-r--r--src/modules/swarm/swarm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/swarm/swarm.c b/src/modules/swarm/swarm.c
index 0d70568..cc27c36 100644
--- a/src/modules/swarm/swarm.c
+++ b/src/modules/swarm/swarm.c
@@ -469,8 +469,9 @@ til_module_t swarm_module = {
.create_context = swarm_create_context,
.destroy_context = swarm_destroy_context,
.render_fragment = swarm_render_fragment,
+ .setup = swarm_setup,
.name = "swarm",
.description = "\"Boids\"-inspired particle swarm in 3D",
.author = "Vito Caputo <vcaputo@pengaru.com>",
- .setup = swarm_setup,
+ .flags = TIL_MODULE_OVERLAYABLE,
};
© All Rights Reserved