mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] png_set_background does not take an info_ptr argument.
This commit is contained in:
parent
ab38979670
commit
d3a0b23c1b
@ -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
|
||||
|
||||
2
libpng.3
2
libpng.3
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user