Ignore:
Timestamp:
Jan 5, 2004, 7:17:20 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + caca_get_event() and caca_wait_event() now accept a mask as an argument

in order to select events.

File:
1 edited

Legend:

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

    r297 r316  
    129129    caca_refresh();
    130130
    131     while((caca_get_event() & 0xff000000) != CACA_EVENT_KEY_PRESS);
     131    while(!caca_get_event(CACA_EVENT_KEY_PRESS));
    132132
    133133    caca_end();
Note: See TracChangeset for help on using the changeset viewer.