Ignore:
Timestamp:
Sep 9, 2006, 7:52:54 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fix dithering handling in demo0.c.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/demo0.c

    r1014 r1019  
    7171    /* Main menu */
    7272    display_menu();
    73     caca_refresh();
    7473
    7574    /* Go ! */
     
    108107                case 'D':
    109108                    dithering = (dithering + 1) % 5;
    110                     caca_set_dithering(dithering);
     109                    caca_set_dithering(CACA_DITHERING_NONE + dithering);
    111110                    display_menu();
    112111                    break;
     
    221220              bounds == 0 ? "screen" : "infinite");
    222221    caca_printf(4, 19, "'d': dithering (%s)",
    223                 caca_get_dithering_name(dithering));
     222                caca_get_dithering_name(CACA_DITHERING_NONE + dithering));
    224223
    225224    caca_putstr(4, yo - 2, "'q': quit");
     225    caca_refresh();
    226226}
    227227
Note: See TracChangeset for help on using the changeset viewer.