Changeset 4214 for neercs


Ignore:
Timestamp:
Jan 1, 2010, 11:30:10 PM (10 years ago)
Author:
Sam Hocevar
Message:

Fix compilation with older versions of libcaca.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/screensaver.c

    r4075 r4214  
    125125        flying_toaster->toaster[i] = caca_create_canvas(0, 0);
    126126        flying_toaster->mask[i] = caca_create_canvas(0, 0);
     127#if !defined HAVE_CACA_DIRTY_RECTANGLES
     128#   define caca_import_canvas_from_memory caca_import_memory
     129#endif
    127130        caca_import_canvas_from_memory(flying_toaster->toaster[i],
    128131                                       toaster_text[i],
Note: See TracChangeset for help on using the changeset viewer.