From 14741eaa510d373c1d20f56879a3fbaa786f1a96 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 16 Nov 2019 12:31:01 -0800 Subject: 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. --- src/rototiller.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src') 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 { -- cgit v1.2.3