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/frame.c

    r3448 r3470  
    7373    _caca_load_frame_info(cv);
    7474
    75     caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     75    caca_add_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
    7676
    7777    return 0;
     
    237237        cv->frame = 0;
    238238        _caca_load_frame_info(cv);
    239         caca_set_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
     239        caca_add_dirty_rectangle(cv, 0, 0, cv->width - 1, cv->height - 1);
    240240    }
    241241
Note: See TracChangeset for help on using the changeset viewer.