[libpng16] Avoid the double gamma correction warning in the simplified API.

This allows the --strict option to pass in the pngstest checks
This commit is contained in:
John Bowler
2012-03-18 22:46:28 -05:00
committed by Glenn Randers-Pehrson
parent 2bc76ffaf1
commit eda53e5770
5 changed files with 70 additions and 11 deletions

View File

@@ -11,7 +11,7 @@ for image in ${srcdir}/contrib/pngsuite/*.png
do
for opts in ""
do
if ./pngstest --log "$@" $opts $image >>pngtest-log.txt 2>&1
if ./pngstest --strict --log "$@" $opts $image >>pngtest-log.txt 2>&1
then
echo " PASS: pngstest $opts $image"
else