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_win32.c

    r681 r684  
    334334 */
    335335
    336 void win32_init_driver(caca_t *kk)
     336int win32_install(caca_t *kk)
    337337{
    338338    kk->drv.driver = CACA_DRIVER_WIN32;
     
    346346    kk->drv.handle_resize = win32_handle_resize;
    347347    kk->drv.get_event = win32_get_event;
     348
     349    return 0;
    348350}
    349351
Note: See TracChangeset for help on using the changeset viewer.