Ignore:
Timestamp:
Mar 24, 2006, 10:48:20 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Allow the driver initialisation to fail, for instance when $DISPLAY = "".
File:
1 edited

Legend:

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

    r681 r684  
    146146 */
    147147
    148 void vga_init_driver(caca_t *kk)
     148int vga_install(caca_t *kk)
    149149{
    150150    kk->drv.driver = CACA_DRIVER_VGA;
     
    158158    kk->drv.handle_resize = vga_handle_resize;
    159159    kk->drv.get_event = vga_get_event;
     160
     161    return 0;
    160162}
    161163
Note: See TracChangeset for help on using the changeset viewer.