1 diff -aur src/G3D/G3D.lib/source/GImage_png.cpp archlinux/src/G3D-8.00_b04//G3D/G3D.lib/source/GImage_png.cpp
2 --- src/G3D/G3D.lib/source/GImage_png.cpp 2010-04-17 18:22:26.000000000 +0100
3 +++ archlinux/src/G3D-8.00_b04//G3D/G3D.lib/source/GImage_png.cpp 2010-02-07 22:39:20.000000000 +0000
8 -#define png_bytepp_NULL NULL
9 -#define png_infopp_NULL (png_infopp)NULL
10 -#define int_p_NULL (int*)NULL
16 //Expand grayscale images to the full 8 bits from 1, 2, or 4 bits/pixel
17 if (color_type == PNG_COLOR_TYPE_GRAY && bit_depth < 8) {
18 - png_set_expand_gray_1_2_4_to_8(png_ptr);
19 + png_set_gray_1_2_4_to_8(png_ptr);
22 //Expand paletted or RGB images with transparency to full alpha channels