Ignore:
Timestamp:
Sep 28, 2008, 7:08:11 AM (12 years ago)
Author:
Sam Hocevar
Message:

gdi.c: the GDI codec can now open and save BMP files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/pipi/codec.c

    r2837 r2840  
    4949        ret = pipi_load_sdl(name);
    5050#endif
     51#if USE_GDI
     52    if(!ret)
     53        ret = pipi_load_gdi(name);
     54#endif
    5155
    5256    return ret;
     
    8387        ret = pipi_save_sdl(img, name);
    8488#endif
     89#if USE_GDI
     90    if(ret < 0)
     91        ret = pipi_save_gdi(img, name);
     92#endif
    8593
    8694    return ret;
Note: See TracChangeset for help on using the changeset viewer.