Ignore:
Timestamp:
May 19, 2009, 2:51:47 AM (11 years ago)
Author:
Sam Hocevar
Message:

Change the dirty rectangle API so that it can handle several rectangles. The
inner implementation still only handles one dirty rectangle, but this way
we can prepare supporting applictions for the future.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/string.c

    r3450 r3470  
    323323    }
    324324
    325     caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     325    caca_add_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
    326326
    327327    return 0;
     
    529529
    530530    /* FIXME: this may be optimised somewhat */
    531     caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     531    caca_add_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
    532532
    533533    return 0;
Note: See TracChangeset for help on using the changeset viewer.