updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / g3d / g3d-8.00_b04.patch
blobde24e9ad0d02af426dba279c6e29f899d448e50a
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
4 @@ -11,9 +11,6 @@
5 #include "G3D/Log.h"
6 #include <png.h>
8 -#define png_bytepp_NULL NULL
9 -#define png_infopp_NULL (png_infopp)NULL
10 -#define int_p_NULL (int*)NULL
11 namespace G3D {
14 @@ -209,7 +206,7 @@
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