Changeset 3419
- Timestamp:
- 04/21/09 01:57:08 (4 years ago)
- File:
-
- 1 edited
-
libpipi/trunk/pipi/codec/gdiplus.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libpipi/trunk/pipi/codec/gdiplus.cpp
r3342 r3419 82 82 extern "C" int pipi_save_gdiplus(pipi_image_t *img, const char *name) 83 83 { 84 ULONG_PTR token; 85 Gdiplus::GdiplusStartupInput input; 86 Gdiplus::GdiplusStartup(&token, &input, NULL); 87 84 88 wchar_t const *fmt; 85 89 if(strstr(name, ".gif")) … … 122 126 } 123 127 124 ULONG_PTR token;125 Gdiplus::GdiplusStartupInput input;126 Gdiplus::GdiplusStartup(&token, &input, NULL);127 128 128 Gdiplus::Bitmap *b = new Gdiplus::Bitmap(img->w, img->h, 129 129 PixelFormat32bppARGB);
Note: See TracChangeset
for help on using the changeset viewer.
