Ignore:
Timestamp:
Nov 4, 2007, 10:56:37 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Removed calls to now deprecated cucul_set_dither_invert().
File:
1 edited

Legend:

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

    r1823 r1875  
    556556
    557557    dither = cucul_create_dither(32, 256, 256, 4 * 256, 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000);
    558  cucul_set_dither_invert(dither, 1);
     558    cucul_set_dither_gamma(dither, -1.0);
    559559    cucul_dither_bitmap(cv, 0, 0, cucul_get_canvas_width(cv), cucul_get_canvas_height(cv), dither, (char *)buffer);
    560560    cucul_free_dither(dither);
Note: See TracChangeset for help on using the changeset viewer.