summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2019-11-16 12:31:01 -0800
committerVito Caputo <vcaputo@pengaru.com>2019-11-16 12:31:01 -0800
commit14741eaa510d373c1d20f56879a3fbaa786f1a96 (patch)
tree86489374727eec84f1af9bf233aa83e64dbb5b8b
parentd70e4ce804bf1868582308083d015589611e92a7 (diff)
rototiller: make rtv the default module
Also sort the modules alphabetically. Now that the major memory leaks are addressed (sparkler), make the rtv module the default since it gives the user an automated tour of all the modules. Explicit module use is more aimed at tinkerers playing with a specific module's code either creating their own or modifying an existing one, but isn't really desirable as the default flow.
-rw-r--r--src/rototiller.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/rototiller.c b/src/rototiller.c
index 7ad1624..75821bb 100644
--- a/src/rototiller.c
+++ b/src/rototiller.c
@@ -24,7 +24,7 @@
* another page so we can begin rendering another frame before vsync. With
* just two pages we end up twiddling thumbs until the vsync arrives.
*/
-#define DEFAULT_MODULE "roto"
+#define DEFAULT_MODULE "rtv"
#define DEFAULT_VIDEO "sdl"
extern fb_ops_t drm_fb_ops;
@@ -35,8 +35,8 @@ extern rototiller_module_t flui2d_module;
extern rototiller_module_t julia_module;
extern rototiller_module_t pixbounce_module;
extern rototiller_module_t plasma_module;
-extern rototiller_module_t roto_module;
extern rototiller_module_t ray_module;
+extern rototiller_module_t roto_module;
extern rototiller_module_t rtv_module;
extern rototiller_module_t snow_module;
extern rototiller_module_t sparkler_module;
@@ -44,17 +44,17 @@ extern rototiller_module_t stars_module;
extern rototiller_module_t submit_module;
static const rototiller_module_t *modules[] = {
- &roto_module,
- &ray_module,
- &sparkler_module,
- &stars_module,
- &plasma_module,
- &julia_module,
- &submit_module,
&flui2d_module,
+ &julia_module,
&pixbounce_module,
+ &plasma_module,
+ &ray_module,
+ &roto_module,
&rtv_module,
&snow_module,
+ &sparkler_module,
+ &stars_module,
+ &submit_module,
};
typedef struct rototiller_t {
© All Rights Reserved