| @@ -70,7 +70,6 @@ int main(int argc, char **argv) | |||||
| /* Main menu */ | /* Main menu */ | ||||
| display_menu(); | display_menu(); | ||||
| caca_refresh(); | |||||
| /* Go ! */ | /* Go ! */ | ||||
| while(!quit) | while(!quit) | ||||
| @@ -107,7 +106,7 @@ int main(int argc, char **argv) | |||||
| case 'd': | case 'd': | ||||
| case 'D': | case 'D': | ||||
| dithering = (dithering + 1) % 5; | dithering = (dithering + 1) % 5; | ||||
| caca_set_dithering(dithering); | |||||
| caca_set_dithering(CACA_DITHERING_NONE + dithering); | |||||
| display_menu(); | display_menu(); | ||||
| break; | break; | ||||
| case 'c': | case 'c': | ||||
| @@ -220,9 +219,10 @@ static void display_menu(void) | |||||
| caca_printf(4, 18, "'b': drawing boundaries: %s", | caca_printf(4, 18, "'b': drawing boundaries: %s", | ||||
| bounds == 0 ? "screen" : "infinite"); | bounds == 0 ? "screen" : "infinite"); | ||||
| caca_printf(4, 19, "'d': dithering (%s)", | caca_printf(4, 19, "'d': dithering (%s)", | ||||
| caca_get_dithering_name(dithering)); | |||||
| caca_get_dithering_name(CACA_DITHERING_NONE + dithering)); | |||||
| caca_putstr(4, yo - 2, "'q': quit"); | caca_putstr(4, yo - 2, "'q': quit"); | ||||
| caca_refresh(); | |||||
| } | } | ||||
| static void demo_all(void) | static void demo_all(void) | ||||