[devel] png_set_background does not take an info_ptr argument.

This commit is contained in:
Glenn Randers-Pehrson 2011-07-09 19:51:16 -05:00
parent ab38979670
commit d3a0b23c1b
2 changed files with 2 additions and 2 deletions

View File

@ -1660,7 +1660,7 @@ useful:
png_set_background(png_ptr, image_background,
PNG_BACKGROUND_GAMMA_FILE, 1/*needs to be expanded*/, 1);
else
png_set_background(png_ptr, info_ptr, my_background,
png_set_background(png_ptr, my_background,
PNG_BACKGROUND_GAMMA_SCREEN, 0/*do not expand*/, 1);
The second call was described above - my_background is in the format of the

View File

@ -2615,7 +2615,7 @@ useful:
png_set_background(png_ptr, image_background,
PNG_BACKGROUND_GAMMA_FILE, 1/*needs to be expanded*/, 1);
else
png_set_background(png_ptr, info_ptr, my_background,
png_set_background(png_ptr, my_background,
PNG_BACKGROUND_GAMMA_SCREEN, 0/*do not expand*/, 1);
The second call was described above - my_background is in the format of the