Ignore:
Timestamp:
Oct 23, 2008, 1:56:48 AM (12 years ago)
Author:
Sam Hocevar
Message:

Full GDI+ load and save support.

File:
1 edited

Legend:

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

    r3067 r3070  
    5151        ret = pipi_load_sdl(name);
    5252#endif
     53#if USE_GDIPLUS
     54    if(!ret)
     55        ret = pipi_load_gdiplus(name);
     56#endif
    5357#if USE_GDI
    5458    if(!ret)
     
    9599        ret = pipi_save_sdl(img, name);
    96100#endif
     101#if USE_GDIPLUS
     102    if(ret < 0)
     103        ret = pipi_save_gdiplus(img, name);
     104#endif
    97105#if USE_GDI
    98106    if(ret < 0)
    99107        ret = pipi_save_gdi(img, name);
    100 #endif
    101 #if USE_GDIPLUS
    102     if(ret < 0)
    103         ret = pipi_save_gdiplus(img, name);
    104108#endif
    105109#if USE_COCOA
Note: See TracChangeset for help on using the changeset viewer.